diff options
author | Jan Kara <jack@suse.cz> | 2016-11-04 18:08:11 +0100 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2016-11-04 14:34:47 -0600 |
commit | 29f3ad7d8380364c86556eedf4eedd3b3d4921dc (patch) | |
tree | 927d67ed0be2b321cdf6787e7e11137237419be5 /fs/direct-io.c | |
parent | 600271d9000027c013c01be87cbb90a5a18c5c3f (diff) | |
download | lwn-29f3ad7d8380364c86556eedf4eedd3b3d4921dc.tar.gz lwn-29f3ad7d8380364c86556eedf4eedd3b3d4921dc.zip |
fs: Provide function to unmap metadata for a range of blocks
Provide function equivalent to unmap_underlying_metadata() for a range
of blocks. We somewhat optimize the function to use pagevec lookups
instead of looking up buffer heads one by one and use page lock to pin
buffer heads instead of mapping's private_lock to improve scalability.
Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'fs/direct-io.c')
0 files changed, 0 insertions, 0 deletions