From: Neil Brown <neilb@cse.unsw.edu.au>
To: David Chow <davidchow@shaolinmicro.com>
Cc: linux-fsdevel@vger.kernel.org
Subject: Re: i_generation consistency
Date: Mon, 2 Dec 2002 10:00:58 +1100 [thread overview]
Message-ID: <15850.38058.673480.590281@notabene.cse.unsw.edu.au> (raw)
In-Reply-To: message from David Chow on Thursday November 28
On Thursday November 28, davidchow@shaolinmicro.com wrote:
> Thanks, it seems some file system change the i_generation each time the
> inode is read ... I don't think this is a good idea because the server
> can shrink the dcache and got the inode flushed, while the client keep
> that i_generation in its dcache. The next time the client requests that
> inode using the old i_generation and find it is stale. That means the
> lifetime of an i_generation is the same as the dcache which is not
> persistent. But from what you say is that the i_generation should be
> kept persistent until it is reused after a remove or delete, is my
> understanding right?
Yes, your understanding is correct. If filesystems set i_generation
to something that is not stable, they would work well when exported
via knfsd.
NeilBrown
prev parent reply other threads:[~2002-12-01 23:01 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-11-26 10:11 i_generation consistency David Chow
2002-11-26 12:58 ` Neil Brown
2002-11-28 6:28 ` David Chow
[not found] ` <3DE5B746.1040300@shaolinmicro.com>
2002-12-01 23:00 ` Neil Brown [this message]
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=15850.38058.673480.590281@notabene.cse.unsw.edu.au \
--to=neilb@cse.unsw.edu.au \
--cc=davidchow@shaolinmicro.com \
--cc=linux-fsdevel@vger.kernel.org \
/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).