bug-coreutils
[Top][All Lists]
Advanced

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

bug#6131: [PATCH]: fiemap support for efficient sparse file copy


From: Paul Eggert
Subject: bug#6131: [PATCH]: fiemap support for efficient sparse file copy
Date: Tue, 15 Jun 2010 14:11:53 -0700
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.9) Gecko/20100423 Thunderbird/3.0.4

On 06/10/2010 05:35 PM, Tao Ma wrote:

> there is a flag FIEMAP_EXTENT_DELALLOC in fiemap ...
> with dd if=/dev/zero of=/mnt/ext4/a bs=1M count=1 seek=1
> the ext4 can't return a valid fiemap extent. 

Hmm, this sounds like a fairly serious bug, in that it would prevent this
part of cp from working.  What does the fiemap ioctl return in this buggy case?
Is there some way that cp can detect the bug, and report it to the user,
or work around it?  Or should we just assume that the bug will get fixed
and that cp shouldn't worry about it?





reply via email to

[Prev in Thread] Current Thread [Next in Thread]