1 Jun 2011 03:58
Re: xfsprogs: Fix for xfstest 252 hang on ext4
Yongqiang Yang <xiaoqiangnk <at> gmail.com>
2011-06-01 01:58:45 GMT
2011-06-01 01:58:45 GMT
On Tue, May 31, 2011 at 11:25 PM, Allison Henderson <achender <at> linux.vnet.ibm.com> wrote: > On 5/23/2011 7:38 PM, Allison Henderson wrote: >> >> On 5/23/2011 6:16 PM, Yongqiang Yang wrote: >>> >>> On Tue, May 24, 2011 at 4:34 AM, Allison Henderson >>> <achender <at> linux.vnet.ibm.com> wrote: >>>> >>>> Hi all, >>>> >>>> While trying to add more punch hole tests to xfstest, I found that >>>> test 252 hangs on ext4 due to a loop in xfsprogs that does not exit. >>>> XFS gets out of this loop because there is logic in the loop that >>>> looks for the last extent flag and breaks out. But it looks like ext4 >>>> does not return a last extent when the file has a hole at the end. I >>>> am not sure if this is the correct behavior or not, so I will copy >>>> the ext4 folks on this too. Below is a copy of the fix for xfsprogs: >>> >>> Hi there, >>> >>> What's blocksize of the tested ext4? For now, ext4 returns >>> LAST_EXTENT if the logical offset covered by the extent is greater >>> than file size, so if there is a hole at the end, no last extent is >>> returned. Thx! >>> >>> Yongqiang. >> >> Hi there, >>(Continue reading)
RSS Feed