diff options
author | Ming Lei <ming.lei@canonical.com> | 2015-08-17 04:31:46 +0200 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2015-09-23 19:00:57 +0200 |
commit | 53cbf3b157a0428d40989ab1c7df9228a1976fc2 (patch) | |
tree | 70f1e0c29c0e8d07b1d0e7d03ce8d09a95c9cb1d /block | |
parent | fs/mpage.c: forgotten WRITE_SYNC in case of data integrity write (diff) | |
download | linux-53cbf3b157a0428d40989ab1c7df9228a1976fc2.tar.xz linux-53cbf3b157a0428d40989ab1c7df9228a1976fc2.zip |
fs: direct-io: don't dirtying pages for ITER_BVEC/ITER_KVEC direct read
When direct read IO is submitted from kernel, it is often
unnecessary to dirty pages, for example of loop, dirtying pages
have been considered in the upper filesystem(over loop) side
already, and they don't need to be dirtied again.
So this patch doesn't dirtying pages for ITER_BVEC/ITER_KVEC
direct read, and loop should be the 1st case to use ITER_BVEC/ITER_KVEC
for direct read I/O.
The patch is based on previous Dave's patch.
Reviewed-by: Dave Kleikamp <dave.kleikamp@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Ming Lei <ming.lei@canonical.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions