[PATCH 3/4] vfs: don't let the dirty time inodes get more than a day stale
Theodore Ts'o
tytso at mit.edu
Wed Nov 26 04:20:17 CST 2014
On Wed, Nov 26, 2014 at 10:48:51AM +1100, Dave Chinner wrote:
> No abuse necessary at all. Just a different inode_dirtied_after()
> check is requires if the inode is on the time dirty list in
> move_expired_inodes().
I'm still not sure what you have in mind here. When would this be
checked? It sounds like you want to set a timeout such that when an
inode which had its timestamps updated lazily 24 hours earlier, the
inode would get written out. Yes? But that implies something is
going to have to scan the list of inodes on the dirty time list
periodically. When are you proposing that this take place?
The various approaches that come to mind all seem more complex than
what I have in this patch 3 of 4, and I'm not sure it's worth the
complexity.
- Ted
More information about the xfs
mailing list