Repository navigation
Commit ce3077e
direct-io: Remove unused DIO_SKIP_DIO_COUNT logic
This flag was added by fe0f07d ("direct-io: only inc/deci
inode->i_dio_count for file systems") as means to optimise the atomic
modificaiton of the variable for blockdevices. However with the advent
of 542ff7b ("block: new direct I/O implementation") it became
unused. So let's remove it.
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Nikolay Borisov <nborisov@suse.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>1 parent c8f4c36 commit ce3077e
2 files changed
Lines changed: 2 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
315 | 315 | | |
316 | 316 | | |
317 | 317 | | |
318 | | - | |
319 | | - | |
| 318 | + | |
320 | 319 | | |
321 | 320 | | |
322 | 321 | | |
| |||
1296 | 1295 | | |
1297 | 1296 | | |
1298 | 1297 | | |
1299 | | - | |
1300 | | - | |
| 1298 | + | |
1301 | 1299 | | |
1302 | 1300 | | |
1303 | 1301 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2976 | 2976 | | |
2977 | 2977 | | |
2978 | 2978 | | |
2979 | | - | |
2980 | | - | |
2981 | | - | |
2982 | 2979 | | |
2983 | 2980 | | |
2984 | 2981 | | |
| |||
0 commit comments