diff options
author | Ritesh Harjani <riteshh@linux.ibm.com> | 2019-10-16 10:37:10 +0300 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2019-10-22 22:32:53 +0300 |
commit | c8cc88163f40df39e50cda63ac361631864b453e (patch) | |
tree | f562970d46082d4f02ffa4f19faf15a1a97f94b8 /block/partition-generic.c | |
parent | 2943fdbc688e7a1b4d9e3bc76a8e5ba624550213 (diff) | |
download | linux-c8cc88163f40df39e50cda63ac361631864b453e.tar.xz |
ext4: Add support for blocksize < pagesize in dioread_nolock
This patch adds the support for blocksize < pagesize for
dioread_nolock feature.
Since in case of blocksize < pagesize, we can have multiple
small buffers of page as unwritten extents, we need to
maintain a vector of these unwritten extents which needs
the conversion after the IO is complete. Thus, we maintain
a list of tuple <offset, size> pair (io_end_vec) for this &
traverse this list to do the unwritten to written conversion.
Signed-off-by: Ritesh Harjani <riteshh@linux.ibm.com>
Link: https://lore.kernel.org/r/20191016073711.4141-5-riteshh@linux.ibm.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'block/partition-generic.c')
0 files changed, 0 insertions, 0 deletions