From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Chow Subject: i_generation consistency Date: Tue, 26 Nov 2002 18:11:21 +0800 Sender: linux-fsdevel-owner@vger.kernel.org Message-ID: <3DE348C9.4000404@shaolinmicro.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Return-path: To: linux-fsdevel@vger.kernel.org, neilb@cse.unsw.edu.au List-Id: linux-fsdevel.vger.kernel.org Hi Neil, I am writing a file system and having problem implementing the i_generation of the inode. Should the i_generation be persistent in the disk? Or it has to be changed every time the dcache shrinks or reload after read_inode()? Should I check the i_generation in the fh_dentry() ops and include it in file handle or leave it to the NFS clients and nfsd and I should forget about implementing i_generation in file handles. Can you please clarify? Thanks. regards, David Chow