]> 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)
commitd1a47ce208a1aec66d46ed3525866056ab0ee177
tree00d84a2406137aab5cc4b8ed290f962608558d70
parentd6b37100e661d5370bdb7c7dfe68b7b2541c1c96
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