Re: Thoughts about cache consistency and directories in particular.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2009-04-23 at 18:07 -0400, J. Bruce Fields wrote:
> On Thu, Apr 23, 2009 at 05:52:57PM -0400, Trond Myklebust wrote:
> > On Thu, 2009-04-23 at 17:34 -0400, J. Bruce Fields wrote:
> > > On Tue, Apr 21, 2009 at 05:43:49PM -0400, bfields wrote:
> > > > Actually, I did this and then realized: I'm using IS_I_VERSION(inode) to
> > > > turn on use of the i_version as the change attribute on both files and
> > > > directories.  But it actually only makes a difference for files.
> > > > 
> > > > So I guess I should just be using i_version as the change attribute
> > > > unconditionally for directories?  (Will that work on any filesystem?)
> > > 
> > > I'm still curious about this.
> > 
> > Few of the common filesystems actually store dir->i_version on permanent
> > storage,
> 
> Hopefully ext4 is, at least in the IS_I_VERSION(inode) case?

It looks to me as though ext4 always saves inode->i_version provided you
are using the default 256 byte inode size. Ted?

Trond

--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux