]> asedeno.scripts.mit.edu Git - linux.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)
commit834057bf846691552a8906f7ed3f67546e5f897c
tree2cabc0f1d1d7325e7efb61db7a6b32c7e9cc6941
parent503330f3820fab13aa2a7b1f9e7633686acc7c79
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