Andreas Dilger wrote:
On Nov 04, 2008 18:47 -0500, Theodore Ts'o wrote:
ext4_inode_info.i_ext_generation isn't used by anything. Was there an
intent to use it for something in the future?
Alex was going to use this at one point in the future, but it never
happened.
actually it was used by delayed allocation patch as walk_space() takes
truncate_sem, then, if block isn't allocated yet, start transaction which
we can't do holding truncate_sem. so the idea is to release truncate_sem,
start transaction, then acquire truncate_sem. but in this window the tree
can change making path structure obsolete. either we check tree hasn't
changed or use generation to avoid unneeded path revalidation?
thanks, Alex
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html