Thread (27 messages) 27 messages, 5 authors, 2020-03-14

Re: [PATCHv5 4/6] ext4: Make ext4_ind_map_blocks work with fiemap

From: "Theodore Y. Ts'o" <tytso@mit.edu>
Date: 2020-03-13 20:18:29
Also in: linux-ext4

On Fri, Feb 28, 2020 at 02:56:57PM +0530, Ritesh Harjani wrote:
For indirect block mapping if the i_block > max supported block in inode
then ext4_ind_map_blocks() returns a -EIO error. But in case of fiemap
this could be a valid query to ->iomap_begin call.
So check if the offset >= s_bitmap_maxbytes in ext4_iomap_begin_report(),
then simply skip calling ext4_map_blocks().

Signed-off-by: Ritesh Harjani <redacted>
Reviewed-by: Jan Kara <jack@suse.cz>
Thanks, applied.

				- Ted
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help