Linux NFS development
 help / color / mirror / Atom feed
From: Jeff Layton <jlayton@redhat.com>
To: "J. Bruce Fields" <bfields@fieldses.org>
Cc: Neil Brown <neilb@suse.de>,
	nfs@lists.sourceforge.net, Jeff Layton <jlayton@redhat.com>
Subject: Re: [PATCH] nfs-utils: make auth_reload respect sub-second	timestamps on etab
Date: Thu, 26 Apr 2007 13:00:56 -0400	[thread overview]
Message-ID: <20070426170055.GA30402@dantu.rdu.redhat.com> (raw)
In-Reply-To: <20070426165800.GC4875@fieldses.org>

On Thu, Apr 26, 2007 at 12:58:00PM -0400, J. Bruce Fields wrote:
> On Thu, Apr 26, 2007 at 12:23:04PM -0400, Jeff Layton wrote:
> > I've had a look at this, and even took a pretty broad swipe at doing it. The
> > issue here is that a lot of the existing code is not well geared toward having
> > an already-open filehandle that gets passed around. Changing this is going to
> > mean a pretty invasive patch that adds quite a few new functions. I don't feel
> > confident that this method has enough advantages over your earlier patch to
> > make this worthwhile.
> > 
> > Neil, what do you think? Should I continue down this road, or should we just
> > go with what you've already written?
> 
> Wouldn't you get the same benefit just by storing (and comparing) the
> inode number and mtime of etab, instead of just the mtime?
> 
> --b.

Not if the inode number is reused. That can occur on some filesystems if
nothing is holding it open. Then again, if we're opening a new file and
renaming it to the old name, then that might not be an issue here. Let me
play with that idea and see...

-- Jeff



-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

  reply	other threads:[~2007-04-26 17:01 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-25 17:39 [PATCH] nfs-utils: make auth_reload respect sub-second timestamps on etab Jeff Layton
2007-04-25 18:09 ` Jeff Layton
2007-04-25 20:13   ` Jeff Layton
2007-04-25 21:29     ` Chuck Lever
2007-04-26  4:56       ` Neil Brown
2007-04-26 12:05         ` Jeff Layton
2007-04-26 16:23           ` Jeff Layton
2007-04-26 16:58             ` J. Bruce Fields
2007-04-26 17:00               ` Jeff Layton [this message]
2007-04-26 17:24                 ` J. Bruce Fields
2007-04-26 18:29                   ` Jeff Layton
2007-05-03  0:55                     ` Neil Brown
2007-05-03 11:58                       ` Jeff Layton
2007-05-03 12:11                         ` Jeff Layton
2007-04-26 17:33                 ` Jeff Layton
2007-04-26 12:35         ` J. Bruce Fields
2007-04-26  4:50 ` Neil Brown
2007-04-26 11:50   ` Jeff Layton

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=20070426170055.GA30402@dantu.rdu.redhat.com \
    --to=jlayton@redhat.com \
    --cc=bfields@fieldses.org \
    --cc=neilb@suse.de \
    --cc=nfs@lists.sourceforge.net \
    /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