summaryrefslogtreecommitdiff
path: root/fs/sysv
diff options
context:
space:
mode:
authorMing Lei <ming.lei@canonical.com>2015-08-17 05:31:46 +0300
committerJens Axboe <axboe@fb.com>2015-09-23 20:00:57 +0300
commit53cbf3b157a0428d40989ab1c7df9228a1976fc2 (patch)
tree70f1e0c29c0e8d07b1d0e7d03ce8d09a95c9cb1d /fs/sysv
parent5948edbcbf43759586cdf2656d293ea7de310280 (diff)
downloadlinux-53cbf3b157a0428d40989ab1c7df9228a1976fc2.tar.xz
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 'fs/sysv')
0 files changed, 0 insertions, 0 deletions