From: Jeff Layton Subject: Re: [PATCH] cifs: mark CONFIG_CIFS_NFSD_EXPORT as BROKEN Date: Mon, 23 May 2011 13:45:42 -0400 Message-ID: <20110523134542.7d16be6d@tlielax.poochiereds.net> References: <1306065324-24604-1-git-send-email-jlayton@redhat.com> <20110522115938.GA27941@infradead.org> <20110522081707.72cce108@corrin.poochiereds.net> <20110523071208.5dc935f8@corrin.poochiereds.net> <4DDA8BE6.8000001@plainjoe.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: Gerald Carter , Christoph Hellwig , linux-cifs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Steve French Return-path: In-Reply-To: Sender: linux-cifs-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-ID: On Mon, 23 May 2011 11:58:50 -0500 Steve French wrote: > On Mon, May 23, 2011 at 11:31 AM, Gerald Carter = wrote: > > On 05/23/2011 08:42 AM, Steve French wrote: > > > >> Shirish had done some experiments (and AFAIK has a small patch > >> that fixed NFS export over CIFS which works, with the usual restri= ctions > >> about having to return ESTALE if the NFS client tries to access > >> an inode which has been flushed from the cache on the server side)= =2E > >> > >>>> For nfs v3 clients that can't handle ESTALE, we are probably > >>>> stuck with having to wait for Samba to implement the flag > >>> Flag? > >> > >> NTCreateX: =C2=A0FILE_OPEN_BY_FILE_ID > >> > >> IIRC Shirish verified that the Windows client will emit this flag,= but their > >> server had not gotten around to implementing it (although Samba co= uld > >> implement it now that their is an open-by-handle syscall). > > > > Hey Jeff/Steve, > > > > I found in [MS-CIFS] that says a server MUST return STATUS_NOT_SUPP= ORTED > > for this option. > Yes - Microsoft has said that their servers do return > STATUS_NOT_SUPPORTED but this is not "MUST" in exactly the same sense > as in an IETF RFC, and the discussion I had with JRA was about server= s > which support the Unix/POSIX extensions allowing this. >=20 Reality check -- this is only going to be useful iff: 1) such a thing were to materialize on the server side (and that will probably be in samba only) =2E..and... 2) someone writes the code to take advantage of it =2E..and that still won't fix the aforementioned problem with directories. --=20 Jeff Layton