Theodore Ts'o <tytso@xxxxxxx> writes: > On Fri, Dec 12, 2014 at 11:52:29AM +0300, Dmitry Monakhov wrote: >> Oh. Indeed That is my mistake. >> >> ret = ext4_fiemap(inode, &fie, offset, maxsize - offset); >> /* No extents found, EOF */ >> if (!fie.fi_extents_mapped) { >> ret = -ENXIO; >> break; >> } >> Delalloc case handled incorrectly. Will fix that ASAP. > > Hi Dmitry, how are things going with a fix? It would be great if I > can get something which I can test and push to Linus before he > releases -rc1. I'm working on that. Sorry for delay. Delay is caused by confusion of existing seek_xxx implementation (even w/o my changes) For example: it is not obvious to believe that if bh is (bh_unwritten | bh_uptodate) then it contains valid data. IMHO it is just a fallocated area. I already have simple fix for actual regression. But I try to review,optimize and retest all related logic. FYI: Currently test failed only on EXT4 w/o extents but w/ -odelalloc enabled. This configuration is absent in xfstest-bld where conf/ext3 is EXT4 w/o extents and w/ nodelalloc. That is why we oversee this from very beginning. > > Thanks!! > > - Ted
Attachment:
signature.asc
Description: PGP signature