Messages in this thread | | | Date | Mon, 17 Dec 2012 10:36:44 -0500 | Subject | Re: [PATCH 0/3] Add O_DENY* flags to fcntl and cifs | From | "J. Bruce Fields" <> |
| |
On Fri, Dec 14, 2012 at 01:19:18PM -0600, Steve French wrote: > On Fri, Dec 14, 2012 at 9:30 AM, Alan Cox <alan@lxorguk.ukuu.org.uk> wrote: > >> We can make this feature (passing O_DENY* flags received from clients > >> to filesystem) can be turned on/off on Samba/NFS server to let this > >> particular use case work. In general, I think we really need to be > >> sure that nobody has a read access for files that a Windows process > >> opened with O_DENYREAD (because there can be important reasons for the > >> Windows process to do so). > > > > It should only affect windows emulated tasks, nothing else > > yes, but not just wine - there is probably a case for Samba server and > NFSv4 to optionally request such behafvior).
Agreed, but:
> Also we are likely to > see more cases where users want to run Samba over an NFS mount and > vice versa.
I don't personally see the interest in this case.
(And in fact I'd rather we removed the nfs export code for cifs; I seem to recall from the last discussion that filehandle lookups get ESTALE for inodes that have gone out of cache, and that that wasn't really fixable.)
--b.
| |