From: Olaf Kirch <okir@suse.de>
To: Trond Myklebust <trond.myklebust@fys.uio.no>
Cc: nfs@lists.sourceforge.net, Michael Schroeder <mls@suse.de>
Subject: Re: [PATCH NFSv2] Drop inode after rename
Date: Mon, 11 Jul 2005 13:24:31 +0200 [thread overview]
Message-ID: <20050711112431.GP27163@suse.de> (raw)
In-Reply-To: <1121080460.8204.18.camel@lade.trondhjem.org>
On Mon, Jul 11, 2005 at 07:14:20AM -0400, Trond Myklebust wrote:
> If people care enough about their data to worry about this sort of
> problem, then they should care enough to use a server that doesn't
> violate the NFS protocol.
unfsd definitely does it this way, unfortunately. I agree that
it's not a very good idea to continue to use unfsd, but...
I would still vote for merging this patch, as it just does
the same nlink accounting that other functions already do,
eg nfs_rmdir, nfs_safe_remove, etc. The latter even has a comment
preceding it that says
* We invalidate the attribute cache and free the inode prior to the operation
* to avoid possible races if the server reuses the inode.
So I think my patch isn't that absurd, is it? :)
Cheers,
Olaf
--
Olaf Kirch | --- o --- Nous sommes du soleil we love when we play
okir@suse.de | / | \ sol.dhoop.naytheet.ah kin.ir.samse.qurax
-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP,
AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar
_______________________________________________
NFS maillist - NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs
next prev parent reply other threads:[~2005-07-11 11:24 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-07-11 10:46 [PATCH NFSv2] Drop inode after rename Olaf Kirch
2005-07-11 10:50 ` Olaf Kirch
2005-07-11 11:05 ` Trond Myklebust
2005-07-11 11:07 ` Olaf Kirch
2005-07-11 11:14 ` Trond Myklebust
2005-07-11 11:24 ` Olaf Kirch [this message]
2005-07-11 11:56 ` Trond Myklebust
2005-07-11 12:28 ` Michael Schroeder
2005-07-11 12:34 ` Trond Myklebust
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=20050711112431.GP27163@suse.de \
--to=okir@suse.de \
--cc=mls@suse.de \
--cc=nfs@lists.sourceforge.net \
--cc=trond.myklebust@fys.uio.no \
/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.