]> git.karo-electronics.de Git - mv-sheeva.git/commit
ext4: remove unnecessary [cm]time update of quota file
authorJan Kara <jack@suse.cz>
Mon, 4 Apr 2011 19:33:39 +0000 (15:33 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 4 Apr 2011 19:33:39 +0000 (15:33 -0400)
commit21f976975cbecbdaf23ceeacc1cab2b1c05a028e
tree3040b533bf50d58e23c3c207001d89b29846df37
parent50f689af019b19f9b9a39be782c21b6f52b1615a
ext4: remove unnecessary [cm]time update of quota file

It is not necessary to update [cm]time of quota file on each quota
file write and it wastes journal space and IO throughput with inode
writes. So just remove the updating from ext4_quota_write() and only
update times when quotas are being turned off. Userspace cannot get
anything reliable from quota files while they are used by the kernel
anyway.

Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/ext4_jbd2.h
fs/ext4/super.c