Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Dec 2001 12:29:38 -0800 (PST)
From:      Matthew Dillon <dillon@apollo.backplane.com>
To:        Sheldon Hearn <sheldonh@starjuice.net>
Cc:        Michal Mertl <mime@traveller.cz>, current@FreeBSD.ORG, bmilekic@FreeBSD.ORG
Subject:   Re: ntfs and sendfile problem (corrupted data) 
Message-ID:  <200112302029.fBUKTcR16908@apollo.backplane.com>
References:   <91552.1009724501@axl.seasidesoftware.co.za>

next in thread | previous in thread | raw e-mail | index | archive | help
    Oops, sorry, that patch was for smbfs on -stable.  Not -current.

    ntfs has a similar problem.  It implements VOP_BMAP but fakes it,
    and ntfs_read() doesn't *USE* the buffer cache, so again sendfile()
    believes that a UIO_NOCOPY read will work when it won't.  And, again
    there is no coherency.  This is even worse then what smbfs() does.

    I think the solution for ntfs is the same as for smbfs... create a
    vop_createvobject tag that does not set VOBJBUF and, as with smbfs,
    this will cause mmap() to fail.

						-Matt

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?200112302029.fBUKTcR16908>