]> git.baikalelectronics.ru Git - kernel.git/commit
quota: remove dqptr_sem
authorNiu Yawei <yawei.niu@gmail.com>
Wed, 4 Jun 2014 04:23:19 +0000 (12:23 +0800)
committerJan Kara <jack@suse.cz>
Tue, 15 Jul 2014 20:40:22 +0000 (22:40 +0200)
commite4e80101122287a04c24f7b599700e0b78522274
tree29bab149a28538c9a7f97aae52a78aec0c2ee3b5
parent82a29efe6a994b4946e003c64c79a22432cac88d
quota: remove dqptr_sem

Remove dqptr_sem to make quota code scalable: Remove the dqptr_sem,
accessing inode->i_dquot now protected by dquot_srcu, and changing
inode->i_dquot is now serialized by dq_data_lock.

Signed-off-by: Lai Siyao <lai.siyao@intel.com>
Signed-off-by: Niu Yawei <yawei.niu@intel.com>
Signed-off-by: Jan Kara <jack@suse.cz>
fs/quota/dquot.c
fs/super.c
include/linux/quota.h