Re: [Bug-tar] [PATCH] Remove nonportable check for files containing only zeroes

2018-01-19 Thread Joerg Schilling
Andreas Dilger wrote: > I'd be happy to have a proper SEEK_HOLE/SEEK_DATA implementation for > Lustre, though it would be a bit tricky for sparse files striped over > multiple OSTs. Probably the best way to handle this would be to > fetch the FIEMAP data for each stripe to the client, and then i

Re: [Bug-tar] Detection of sparse files is broken on btrfs

2018-01-19 Thread Joerg Schilling
Paul Eggert wrote: > On 01/18/2018 02:33 AM, Joerg Schilling wrote: > > Returning a value for st_blocks, that changes with the phases of the moon > > while > > the content of that file is not changed is another unexpected behavior. > > Not at all. It's completely expected nowadays, for the same

Re: [Bug-tar] Detection of sparse files is broken on btrfs

2018-01-19 Thread Andreas Dilger
On Jan 19, 2018, at 2:27 AM, Joerg Schilling wrote: > > Paul Eggert wrote: > >> On 01/18/2018 02:33 AM, Joerg Schilling wrote: >>> Returning a value for st_blocks, that changes with the phases of the moon >>> while >>> the content of that file is not changed is another unexpected behavior. >>