Date: Fri, 3 Feb 2006 18:35:36 +0300 From: Yar Tikhiy <yar@comp.chem.msu.su> To: Iassen Anadoliev <korio@korio.org> Cc: freebsd-net@freebsd.org Subject: Re: Ftpd problems Message-ID: <20060203153536.GA8675@comp.chem.msu.su> In-Reply-To: <cone.1138892186.647077.1301.1001@ibiza.ma3x.net> References: <cone.1138453965.573440.49834.1001@ibiza.ma3x.net> <43DB8EEA.6090006@mac.com> <cone.1138465534.246267.50054.1001@ibiza.ma3x.net> <20060130125746.GB44477@comp.chem.msu.su> <20060131145612.GE34373@comp.chem.msu.su> <cone.1138892186.647077.1301.1001@ibiza.ma3x.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Feb 02, 2006 at 04:56:26PM +0200, Iassen Anadoliev wrote: > Yar Tikhiy writes: > >> > >>We seem to have got a bug in sendfile(2). Besides bin/89100, there > >>is kern/92243 on it. The problem is rather unpleasant and it's in > >>the kernel, not in ftpd(8). > > > >Would you mind trying the attached kernel patch? Note that you'll > >need to rebuild the modules along with the kernel after applying the > >patch. Thanks in advance! > > Thanks for the patch it seems to work: > > fetch ftp://test:test@ibiza.korio.org/usr/src/test.zero > test.zero 100% of 4293 MB 4255 kBps > 00m00s > > >The patch is against HEAD. In case it fails to apply, just change > >the type of the 2nd argument to vnode_create_vobject from size_t to > >off_t in the .h and .c files -- that's the essence. > > uname -a > FreeBSD ibiza.ma3x.net 6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #0: Thu Feb 2 > 15:19:27 EET 2006 root@ibiza.ma3x.net:/usr/obj/usr/src/sys/STENLY i386 Thank you for testing my patch, now I'll do my best to get it into 6.1-RELEASE. -- Yar
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060203153536.GA8675>