Thread (14 messages) 14 messages, 4 authors, 2017-09-14

Re: [PATCH 1/4] iomap: Switch from blkno to disk offset

From: Jan Kara <jack@suse.cz>
Date: 2017-08-30 15:00:03
Also in: linux-fsdevel, linux-xfs

On Tue 29-08-17 16:29:39, Andreas Gruenbacher wrote:
Replace iomap->blkno, the sector number, with iomap->addr, the disk
offset in bytes.  For invalid disk offsets, use the special value
IOMAP_NULL_ADDR instead of IOMAP_NULL_BLOCK.  This allows to use iomap
for mappings which are not block aligned, such as inline data on ext4
and stuffed inodes on gfs2.

Tested on xfs and ext4 with xfstests; seems to be working correctly.

Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
The patch looks good to me. You can add:

Reviewed-by: Jan Kara <jack@suse.cz>

								Honza
-- 
Jan Kara [off-list ref]
SUSE Labs, CR
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help