"event" is a global counter that used to update i_version.
Could we remove that variable before 2.4?

* i_version is local to each inode, there is no need for a global
counter.

* It seems that most other filesystems just copied i_version from ext2
without checking: they write it, but they never read it.

* f_version and i_version are used by ufs, ext2 and affs to optimize
read_dir: if a folder didn't change between 2 readdir calls, then
readdir can resume without checking that the offset into the folder is
still valid.

* d_time and i_version are used by fat to optimize _revalidate().

* ext2 abuses "event" for the generation numbers of new inodes. That's
wrong, I added an ext2 internal counter for the generation numbers.

All filesystems still compile, but I couldn't test all of them.

--
        Manfred

patch-event.gz

Reply via email to