summaryrefslogtreecommitdiffstats
path: root/init/main.c
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2017-08-03 11:25:55 +0200
committerJan Kara <jack@suse.cz>2017-08-17 22:00:54 +0200
commit91389240a252ba3ced356404f0e3426958d619e4 (patch)
tree8ebf413b5cd55bdd1fce595d1683a7f89d5cbab7 /init/main.c
parentquota: Allow disabling tracking of dirty dquots in a list (diff)
downloadlinux-91389240a252ba3ced356404f0e3426958d619e4.tar.xz
linux-91389240a252ba3ced356404f0e3426958d619e4.zip
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>
Diffstat (limited to 'init/main.c')
0 files changed, 0 insertions, 0 deletions