Re: [EXT4 set 4][PATCH 5/5] i_version: noversion mount option to disable inode version updates

From: Andreas Dilger
Date: Wed Jul 11 2007 - 07:57:30 EST


On Jul 10, 2007 16:31 -0700, Andrew Morton wrote:
> On Sun, 01 Jul 2007 03:37:53 -0400
> Mingming Cao <cmm@xxxxxxxxxx> wrote:
> > Add a "noversion" mount option to disable inode version updates.
>
> Why is this option being offered to our users? To reduce disk traffic,
> like noatime?
>
> If so, what are the implications of this? What would the user lose?

Ah, this is the patch to disable i_version updates for Lustre. I don't
think any normal user would use this mount option, so I don't know if
there is a need to document it. There are no performance implications,
unless we end up changing the mtime granularity JUST to update i_version,
in which case we can avoid some overhead if not exporting with NFSv4.

If we want to go in the direction of forcing extra inode updates just
for this, then we might even consider making i_version updates on disk
default to OFF unless NFSv4 has exported the filesystem at least once,
and then it should set a persistent flag in the superblock indicating
that i_version updates are needed.

Cheers, Andreas
--
Andreas Dilger
Principal Software Engineer
Cluster File Systems, Inc.

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