diff options
author | Ming Lei <ming.lei@canonical.com> | 2015-08-17 10:31:46 +0800 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2015-09-23 11:00:57 -0600 |
commit | 53cbf3b157a0428d40989ab1c7df9228a1976fc2 (patch) | |
tree | 70f1e0c29c0e8d07b1d0e7d03ce8d09a95c9cb1d /fs/fs_pin.c | |
parent | 5948edbcbf43759586cdf2656d293ea7de310280 (diff) | |
download | linux-53cbf3b157a0428d40989ab1c7df9228a1976fc2.tar.gz linux-53cbf3b157a0428d40989ab1c7df9228a1976fc2.tar.bz2 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 'fs/fs_pin.c')
0 files changed, 0 insertions, 0 deletions