]> asedeno.scripts.mit.edu Git - linux.git/commit
ext4: Disable dirty list tracking of dquots when journalling quotas
authorJan Kara <jack@suse.cz>
Thu, 3 Aug 2017 09:25:55 +0000 (11:25 +0200)
committerJan Kara <jack@suse.cz>
Thu, 17 Aug 2017 20:00:54 +0000 (22:00 +0200)
commit91389240a252ba3ced356404f0e3426958d619e4
tree8ebf413b5cd55bdd1fce595d1683a7f89d5cbab7
parent834057bf846691552a8906f7ed3f67546e5f897c
ext4: Disable dirty list tracking of dquots when journalling quotas

When journalling quotas, we writeback all dquots immediately after
changing them as part of current transation. Thus there's no need to
write anything in dquot_writeback_dquots() and so we can avoid updating
list of dirty dquots to reduce dq_list_lock contention.

This change reduces time to create 500000 files on ext4 on ramdisk by 50
different processes in separate directories by 15% when user quota is
turned on.

Signed-off-by: Jan Kara <jack@suse.cz>
fs/ext4/super.c