atom feed8 messages in org.freebsd.freebsd-fsRe: SEEK_HOLE and SEEK_DATA does not ...
FromSent OnAttachments
Attila NagyApr 4, 2012 12:52 am 
Andriy GaponApr 4, 2012 1:38 am 
Attila NagyApr 4, 2012 1:49 am 
Andriy GaponApr 4, 2012 1:56 am 
Attila NagyApr 4, 2012 2:21 am 
Andriy GaponApr 4, 2012 2:30 am 
Attila NagyApr 4, 2012 5:41 am 
Andriy GaponApr 5, 2012 1:02 am 
Subject:Re: SEEK_HOLE and SEEK_DATA does not work on zfs (with test case)
From:Andriy Gapon (av@FreeBSD.org)
Date:Apr 4, 2012 1:56:45 am
List:org.freebsd.freebsd-fs

on 04/04/2012 11:50 Attila Nagy said the following:

On 04/04/12 10:38, Andriy Gapon wrote:

on 04/04/2012 10:52 Attila Nagy said the following:

Hi,

I've started to experiment with SEEK_HOLE and SEEK_DATA in python on a recent FreeBSD 9-STABLE/amd64 box and it quickly became evident that the program that works on Solaris doesn't work on FreeBSD. Python itself couldn't cause this, because it correctly issues the lseek, but taking the C test program from here: https://lkml.org/lkml/2011/4/22/79 gives the same result (failure).

Please see this PR: http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/164445 If you can't figure out a patch from its contents, then I'll try to provide it some time later today.

I will try it, but the e-mail above the patch is somewhat scary...

Sorry, I could not understand what you mean.