linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Robert Rappaport" <robert.rappaport@gmail.com>
To: "bfields@fieldses.org" <bfields@fieldses.org>
Cc: "Wendy Cheng" <wcheng@redhat.com>, linux-fsdevel@vger.kernel.org
Subject: Re: File system awareness (or lack thereof) of vfs granting of leases
Date: Tue, 20 Feb 2007 16:57:50 -0500	[thread overview]
Message-ID: <f0a71180702201357i4885fb74w85a5a9aed7d3f144@mail.gmail.com> (raw)
In-Reply-To: <40575.141.211.133.169.1172006056.squirrel@www.fieldses.org>

On 2/20/07, bfields@fieldses.org <bfields@fieldses.org> wrote:
> "Robert Rappaport" <robert.rappaport@gmail.com> said:
> > After looking more carefully at your changes, I have a question.  Why
> > didn't you modify the linux kernel routine, setlease(), so that it
> > would either call f_op->set_lease() or __setlease()?  Instead you
> > created a new routine, nfs4_setlease(), and you modified the previous
> > calls to setlease() in nfs4 to now call nfs4_setlease.
>
> No good reason that I can see.  I think you're correct that the
> ->setlease() call should go into the common code, and by invoked by fcntl
> too.

That brings up another thing for me.  As I envision what I need to do
for my problem, what I want in my f_op->set_lease() routine is to do
some specific file system work and then I would like to invoke the
__setlease() routine also.  Currently that routine is defined as
static and therefore uncallable from outside.  Is it possible to
export that routine or at least the functionality currently in that
routine?

- Robert Rappaport

  reply	other threads:[~2007-02-20 21:57 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-16 23:51 File system awareness (or lack thereof) of vfs granting of leases Robert Rappaport
2007-02-17  5:32 ` Wendy Cheng
2007-02-18  6:39   ` J. Bruce Fields
2007-02-20 15:46     ` Robert Rappaport
2007-02-20 16:33       ` J. Bruce Fields
2007-02-20 19:08         ` Robert Rappaport
2007-02-20 21:14           ` bfields
2007-02-20 21:57             ` Robert Rappaport [this message]
2007-02-20 19:08       ` David Teigland
2007-02-20 20:51         ` bfields
2007-02-20 20:55           ` bfields
2007-02-20 21:25           ` David Teigland
2007-02-22 21:58             ` J. Bruce Fields
2007-02-22 22:57               ` 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=f0a71180702201357i4885fb74w85a5a9aed7d3f144@mail.gmail.com \
    --to=robert.rappaport@gmail.com \
    --cc=bfields@fieldses.org \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=wcheng@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).