]> git.baikalelectronics.ru Git - kernel.git/commit
ext4: add optimization for the lazytime mount option
authorTheodore Ts'o <tytso@mit.edu>
Mon, 2 Feb 2015 05:37:02 +0000 (00:37 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Thu, 5 Feb 2015 07:45:00 +0000 (02:45 -0500)
commitadce8daad3493aed4d17ee1736628b3e25b9a833
tree00d84a2406137aab5cc4b8ed290f962608558d70
parenta2e40f01e499ceb8cc368d7b716725aa12b6e523
ext4: add optimization for the lazytime mount option

Add an optimization for the MS_LAZYTIME mount option so that we will
opportunistically write out any inodes with the I_DIRTY_TIME flag set
in a particular inode table block when we need to update some inode in
that inode table block anyway.

Also add some temporary code so that we can set the lazytime mount
option without needing a modified /sbin/mount program which can set
MS_LAZYTIME.  We can eventually make this go away once util-linux has
added support.

Google-Bug-Id: 18297052

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/ext4/inode.c
fs/ext4/super.c
include/trace/events/ext4.h