Commit 69feddf
Filter out O_DIRECT at open_inode
Filter out the libc::O_DIRECT flag at open_inode. Also, add the
"allow_direct_io" flag to allow users to make the file system to honor
the flag instead.
reference virtiofsd 894361d1e83c23460ce9aaadc40a6af598a790d4
Signed-off-by: zyfjeff <zyfjeff@linux.alibaba.com>1 parent de3231b commit 69feddf
2 files changed
+11
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
175 | 175 | | |
176 | 176 | | |
177 | 177 | | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
178 | 184 | | |
179 | 185 | | |
180 | 186 | | |
| |||
198 | 204 | | |
199 | 205 | | |
200 | 206 | | |
| 207 | + | |
201 | 208 | | |
202 | 209 | | |
203 | 210 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
38 | 41 | | |
39 | 42 | | |
40 | 43 | | |
| |||
0 commit comments