[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#615035: FIEMAP wrongly reports holes for delayed-allocation extents



On Fri, 2011-02-25 at 04:58 +0000, Ben Hutchings wrote:
> Package: linux-2.6
> Version: 2.6.32-30
> Severity: grave
> 
> The FIEMAP ioctl allows userland to query how file extents are mapped
> to disk blocks.  Some filesystems that implement delayed allocation
> (at least btrfs and ext4) will wrongly report that the file extents
> for which blocks have not been allocated are holes in the file
> (i.e. that no data has been written to them and they are treated as
> all-zeroes).  Any program that relies on this information to optimise
> file copying may fail to copy data that was recently appended to a
> file on these types of filesystem.
> 
> See <http://lwn.net/Articles/429345/>.

Please do not upload coreutils 8.10 until this bug is fixed in the
kernel in all suites.

Ben.

-- 
Ben Hutchings
Once a job is fouled up, anything done to improve it makes it worse.

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: