From: Bob Peterson <rpeterso@redhat.com>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] [RFC PATCH] dlm: Remove unused conf from lm_grant
Date: Tue, 1 Jul 2014 13:16:32 -0400 (EDT) [thread overview]
Message-ID: <1781051691.1348978.1404234992108.JavaMail.zimbra@redhat.com> (raw)
In-Reply-To: <20140701164652.GB32565@redhat.com>
----- 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 <joe@perches.com> 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.
>
> Dave
Hi,
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).
I'm all for getting rid of useless parameters, and I've done so on
several occasions in GFS2.
Regards,
Bob Peterson
Red Hat File Systems
WARNING: multiple messages have this Message-ID (diff)
From: Bob Peterson <rpeterso@redhat.com>
To: David Teigland <teigland@redhat.com>
Cc: Jeff Layton <jlayton@poochiereds.net>,
cluster-devel@redhat.com, linux-nfs@vger.kernel.org,
Trond Myklebust <trond.myklebust@primarydata.com>,
linux-kernel@vger.kernel.org,
"J. Bruce Fields" <bfields@fieldses.org>,
linux-fsdevel@vger.kernel.org, Joe Perches <joe@perches.com>
Subject: Re: [Cluster-devel] [RFC PATCH] dlm: Remove unused conf from lm_grant
Date: Tue, 1 Jul 2014 13:16:32 -0400 (EDT) [thread overview]
Message-ID: <1781051691.1348978.1404234992108.JavaMail.zimbra@redhat.com> (raw)
In-Reply-To: <20140701164652.GB32565@redhat.com>
----- 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 <joe@perches.com> 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.
>
> Dave
Hi,
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).
I'm all for getting rid of useless parameters, and I've done so on
several occasions in GFS2.
Regards,
Bob Peterson
Red Hat File Systems
next prev parent reply other threads:[~2014-07-01 17:16 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-01 13:20 [Cluster-devel] [RFC PATCH] dlm: Remove unused conf from lm_grant Joe Perches
2014-07-01 13:20 ` Joe Perches
2014-07-01 14:43 ` [Cluster-devel] " Jeff Layton
2014-07-01 14:43 ` Jeff Layton
2014-07-01 14:43 ` Jeff Layton
2014-07-01 16:46 ` [Cluster-devel] " David Teigland
2014-07-01 16:46 ` David Teigland
2014-07-01 16:46 ` David Teigland
2014-07-01 17:16 ` Bob Peterson [this message]
2014-07-01 17:16 ` [Cluster-devel] " Bob Peterson
2014-07-01 17:22 ` David Teigland
2014-07-01 17:22 ` David Teigland
2014-07-01 17:22 ` David Teigland
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1781051691.1348978.1404234992108.JavaMail.zimbra@redhat.com \
--to=rpeterso@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.