[Bugs] [Bug 1206461] sparse file self heal fail under xfs version 2 with speculative preallocation feature on

bugzilla at redhat.com bugzilla at redhat.com
Tue Mar 31 08:19:58 UTC 2015


https://bugzilla.redhat.com/show_bug.cgi?id=1206461



--- Comment #1 from Ravishankar N <ravishankar at redhat.com> ---
Hi zhoushicheng,

So the test that is failing is:
EXPECT "1" has_holes $B0/${V0}0/big2bigger

The has_holes function returns true if(`stat -c '%b*%B-%s' file_name`)) -lt 0).
I think this means that XFS has not freed the preallocated blocks despite the
fd being closed by the time we reach this line in the testcase. Could you run
the test lowering the speculative_prealloc_lifetime ? 
(See
http://xfs.org/index.php/XFS_FAQ#Q:_How_can_I_speed_up_or_avoid_delayed_removal_of_speculative_preallocation.3F)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list