[LTP] [PATCH v2] Use real FS block size in fallocate05

Martin Doucha mdoucha@suse.cz
Wed Dec 18 11:01:49 CET 2019


On 12/18/19 10:09 AM, Martin Doucha wrote:
> On 12/17/19 10:02 PM, Jan Stancek wrote:
>> Is there an upstream thread link for that btrfs bug?
> 
> Not yet. I've reported the bug to SUSE Bugzilla for now so that our
> kernel devs can take a closer look. But they may still decide that this
> is expected behavior.

Update: Our kernel devs just said that this is expected behavior. Btrfs
will only release disk space when you deallocate a whole file extent
that can be up to 128MB in size. I'll have to add an exception for Btrfs
to fallocate05 then. Or would you guys prefer to always deallocate the
whole file before the last write() check?

-- 
Martin Doucha   mdoucha@suse.cz
QA Engineer for Software Maintenance
SUSE LINUX, s.r.o.
CORSO IIa
Krizikova 148/34
186 00 Prague 8
Czech Republic


More information about the ltp mailing list