[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20121217153644.GD23546@fieldses.org>
Date: Mon, 17 Dec 2012 10:36:44 -0500
From: "J. Bruce Fields" <bfields@...ldses.org>
To: Steve French <smfrench@...il.com>
Cc: Alan Cox <alan@...rguk.ukuu.org.uk>,
Pavel Shilovsky <piastry@...rsoft.ru>,
David Laight <david@....co.uk>,
Christoph Hellwig <hch@...radead.org>,
linux-fsdevel@...r.kernel.org, linux-cifs@...r.kernel.org,
linux-nfs@...r.kernel.org, linux-kernel@...r.kernel.org,
wine-devel@...ehq.org
Subject: Re: [PATCH 0/3] Add O_DENY* flags to fcntl and cifs
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@...rguk.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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists