From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Teigland Subject: Re: [Cluster-devel] [RFC PATCH] dlm: Remove unused conf from lm_grant Date: Tue, 1 Jul 2014 12:22:13 -0500 Message-ID: <20140701172213.GD32565@redhat.com> References: <1404220810.2717.39.camel@joe-AO725> <20140701104313.5317400a@tlielax.poochiereds.net> <20140701164652.GB32565@redhat.com> <1781051691.1348978.1404234992108.JavaMail.zimbra@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Jeff Layton , cluster-devel-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org, linux-nfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Trond Myklebust , linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, "J. Bruce Fields" , linux-fsdevel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Joe Perches To: Bob Peterson Return-path: Content-Disposition: inline In-Reply-To: <1781051691.1348978.1404234992108.JavaMail.zimbra-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> Sender: linux-nfs-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: linux-fsdevel.vger.kernel.org On Tue, Jul 01, 2014 at 01:16:32PM -0400, Bob Peterson wrote: > ----- Original Message ----- > > On Tue, Jul 01, 2014 at 10:43:13AM -0400, Jeff Layton wrote: > > > On Tue, 01 Jul 2014 06:20:10 -0700 > > > Joe Perches wrote: > > > > > > > While doing a bit of adding argument names to fs.h, > > > > I looked at lm_grant and it seems the 2nd argument > > > > is always NULL. > > > > > > > > How about removing it? > > > > > > > > This doesn't apply as it depends on some other patches > > > > but it should be clear enough... > > > > > > > > > > ACK on the general idea from my standpoint. Anything that simplifies > > > the file locking interfaces is a good thing, particularly the deferred > > > locking code. > > > > Fine with me. I'd be happy to remove all the deferred locking code from > > dlm; it never really worked. > GFS2 uses deferred locks, at the very least in its direct_io path > (gfs2_direct_IO in aops.c). So AFAIK we can't remove THAT without a certain > amount of pain. Steve is on vacation / holiday this week, but he will > be back on Thursday and Friday (which is a holiday). This is about deferred file locks from NFS, not gfs2's "deferred" lock mode. Dave -- 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