]> git.baikalelectronics.ru Git - kernel.git/commit
quota: Allow disabling tracking of dirty dquots in a list
authorJan Kara <jack@suse.cz>
Thu, 3 Aug 2017 09:18:23 +0000 (11:18 +0200)
committerJan Kara <jack@suse.cz>
Thu, 17 Aug 2017 20:00:45 +0000 (22:00 +0200)
commitbe31ce61f468262840250e2536b0f4b86d008452
tree2cabc0f1d1d7325e7efb61db7a6b32c7e9cc6941
parent0b0fa63bbe847b594504ded60d0d827fdacc9597
quota: Allow disabling tracking of dirty dquots in a list

Filesystems that are journalling quotas generally don't need tracking of
dirty dquots in a list since forcing a transaction commit flushes all
quotas anyway. Allow filesystem to say it doesn't want dquots to be
tracked as it reduces contention on the dq_list_lock.

Signed-off-by: Jan Kara <jack@suse.cz>
fs/quota/dquot.c
include/linux/quota.h