> Oh yeah. So, question, what's the ext2_i.i_version used by?
> I suppose I withdraw my objection to letting users set it!
The NFS server is supposed to use i_version. Don't think of
i_version as a file version like VMS has. The BSD name, i_gen,
more accurately indicates that this is a generation number.
The filesystem should change i_gen when and only when an inode
is allocated. Random numbers are OK, as are serial numbers.
Perhaps use 16 bits of randomness and 16 of serial number?
Without i_gen, newly created files could be confused with old
files that were just deleted. This is because the NFS cookie
could end up being the same. The addition of i_gen prevents
duplicate NFS cookie generation.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/