|
|
About
TODO
Blog
RSS
Old blog
Projects
Gallery
Notes
Fri, 11 Apr 2008
Unhashed inodes can not be synced during writeback. Debunked.
Problem happend to be quite simple: writeback happens for
inodes in sb->s_io superblock list. They are placed
there from sb->s_dirty list, which contains dirty inodes.
Dirty inodes can be placed into that list via mark_inode_dirty(),
which checks if inode is hashed, if it is not, then it will not be placed into dirty list.
Hashed has a synonym in comments: valid...
There is sb->s_op->dirty_inode() superblock operation callback, which is invoked
first, so one can still implement own inode cache, do not use inode hash tables, do not
hash inodes and still put inodes into dirty list and thus be able to run writeback on them.
/devel/fs :: Link / Comments (0)
Please solve this captcha to be allowed to post (need to reload in a minute): 35 + 33
|