diff options
author | Ritesh Harjani <riteshh@linux.ibm.com> | 2019-10-16 10:37:08 +0300 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2019-10-22 22:32:53 +0300 |
commit | a00713ea982b7f2f9880a336b03bbf70f2202cbf (patch) | |
tree | 95def81ee16c1d344ec897798920f41e2bc43a65 /fs/ext4/ext4.h | |
parent | 821ff38d192a42a95fe33b5928ce5ed15cbe8564 (diff) | |
download | linux-a00713ea982b7f2f9880a336b03bbf70f2202cbf.tar.xz |
ext4: Add API to bring in support for unwritten io_end_vec conversion
This patch just brings in the API for conversion of unwritten io_end_vec
extents which will be required for blocksize < pagesize support
for dioread_nolock feature.
No functional changes in this patch.
Signed-off-by: Ritesh Harjani <riteshh@linux.ibm.com>
Link: https://lore.kernel.org/r/20191016073711.4141-3-riteshh@linux.ibm.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/ext4.h')
-rw-r--r-- | fs/ext4/ext4.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/ext4/ext4.h b/fs/ext4/ext4.h index 03db3e71676c..8d924bd19ca7 100644 --- a/fs/ext4/ext4.h +++ b/fs/ext4/ext4.h @@ -3264,6 +3264,8 @@ extern long ext4_fallocate(struct file *file, int mode, loff_t offset, loff_t len); extern int ext4_convert_unwritten_extents(handle_t *handle, struct inode *inode, loff_t offset, ssize_t len); +extern int ext4_convert_unwritten_io_end_vec(handle_t *handle, + ext4_io_end_t *io_end); extern int ext4_map_blocks(handle_t *handle, struct inode *inode, struct ext4_map_blocks *map, int flags); extern int ext4_ext_calc_metadata_amount(struct inode *inode, |