diff options
author | Tahsin Erdogan <tahsin@google.com> | 2017-08-06 06:07:01 +0200 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2017-08-06 06:07:01 +0200 |
commit | 9699d4f91d9bd2f70dcc37afe3c9f18145ab2dba (patch) | |
tree | 8fc510c6e2da691b84598b8b2cb13aeb92d00288 /fs/freevxfs/vxfs_immed.c | |
parent | ext4: inplace xattr block update fails to deduplicate blocks (diff) | |
download | linux-9699d4f91d9bd2f70dcc37afe3c9f18145ab2dba.tar.xz linux-9699d4f91d9bd2f70dcc37afe3c9f18145ab2dba.zip |
ext4: make xattr inode reads faster
ext4_xattr_inode_read() currently reads each block sequentially while
waiting for io operation to complete before moving on to the next
block. This prevents request merging in block layer.
Add a ext4_bread_batch() function that starts reads for all blocks
then optionally waits for them to complete. A similar logic is used
in ext4_find_entry(), so update that code to use the new function.
Signed-off-by: Tahsin Erdogan <tahsin@google.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'fs/freevxfs/vxfs_immed.c')
0 files changed, 0 insertions, 0 deletions