Date: Mon, 31 Dec 2001 17:14:37 +0600 (ALMT) From: Boris Popov <bp@butya.kz> To: Matthew Dillon <dillon@apollo.backplane.com> Cc: Sheldon Hearn <sheldonh@starjuice.net>, Michal Mertl <mime@traveller.cz>, current@FreeBSD.ORG, bmilekic@FreeBSD.ORG Subject: Re: ntfs and sendfile problem (corrupted data) Message-ID: <Pine.BSF.4.21.0112311651380.87054-100000@lion.butya.kz> In-Reply-To: <200112302019.fBUKJpZ16855@apollo.backplane.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 30 Dec 2001, Matthew Dillon wrote: > Well, we have a problem here. smbfs is allowing VOBJBUF to be set > on its vnodes. This creates a backing VM object that smbfs never > uses and makes sendfile() believe that it can do UIO_NOCOPY uio's on > smbfs vnodes. Yes, smbfs pretend to support backing VM object (as nwfs do). However, this support has never been complete but nwfs definitely worked in this specific situation and I'm unsure when smbfs and, probably nwfs, wasn't updated for new VM rules to correctly support mmap'ed reads. IMO, dropping support for mmap() isn't a good idea because there is a plenty of programs which didn't work if mmap() calls is not supported (and most of those programs use mmap() for read operations). -- Boris Popov http://rbp.euro.ru To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0112311651380.87054-100000>