Locked up processes after upgrade to ZFS v15

Andriy Gapon avg at icyb.net.ua
Tue Oct 12 13:28:30 UTC 2010


on 12/10/2010 16:02 Jeremy Chadwick said the following:
> On Tue, Oct 12, 2010 at 02:12:28PM +0300, Andriy Gapon wrote:
>> I don't have an easy way to reproduce it.
>> The theory is that you should sendfile a file with size which is not multiple of
>> page size (4K) and then you should mmap and read the same file; the last step
>> should lock up.
>> Perhaps, tools/regression/sockets/sendfile/sendfile.c with the following patch
>> would reproduce it?
>> http://people.freebsd.org/~avg/sendfile.diff
> 
> This patch only works on HEAD.  I downloaded the HEAD version of
> sendfile.c from here:
> 
> http://www.freebsd.org/cgi/cvsweb.cgi/src/tools/regression/sockets/sendfile/sendfile.c?rev=1.7;content-type=text%2Fplain
> 
> And the HEAD Makefile as well (since libmd linking is needed):
> 
> http://www.freebsd.org/cgi/cvsweb.cgi/src/tools/regression/sockets/sendfile/Makefile?rev=1.6;content-type=text%2Fplain
> 
> And then applied your patch.  However, the result doesn't induce a
> lock-up.  Bummer.

Oh, I am stupid - it should be a different process doing mmap, not the same one.
-- 
Andriy Gapon


More information about the freebsd-fs mailing list