From: "J. Bruce Fields" Subject: Re: [PATCH 08/12] locks: break delegations on unlink Date: Tue, 9 Jul 2013 15:29:09 -0400 Message-ID: <20130709192908.GG32574@pad.fieldses.org> References: <1372882356-14168-1-git-send-email-bfields@redhat.com> <1372882356-14168-9-git-send-email-bfields@redhat.com> <20130709090506.71c96841@tlielax.poochiereds.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Al Viro , linux-nfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-fsdevel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, David Howells , Tyler Hicks , Dustin Kirkland To: Jeff Layton Return-path: Content-Disposition: inline In-Reply-To: <20130709090506.71c96841-9yPaYZwiELC+kQycOl6kW4xkIHaj4LzF@public.gmane.org> Sender: linux-nfs-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: linux-fsdevel.vger.kernel.org On Tue, Jul 09, 2013 at 09:05:06AM -0400, Jeff Layton wrote: > We probably also ought to eyeball some of these other cases where you > passing in NULL as the deleg_inode too. It's probably reasonable in > most cases -- exporting a filesystem that you also mount using ecryptfs > seems silly, but you never know... The cases in this patch: - devtmpfs, mqueue: not exportable - cachefiles, ecryptfs: probably nothing prevents exporting the underlying filesystem, but it sounds nuts. If somebody actually runs into this case, we'll error out--the kernel won't crash, the delegation won't be violated--and they can come to us and try to make the case why this is a problem. - nfsd: handles delegation breaks in its own way (by returning a DELAY error to the client and leaving it to the client to retry). --b. -- To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html