From: Christoph Hellwig Date: Tue, 6 Dec 2011 21:58:18 +0000 (+0000) Subject: xfs: flatten the dquot lock ordering X-Git-Tag: v3.3-rc1~169^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=92678554abfc2a2f2727ad168da87d8d434ac904;p=pandora-kernel.git xfs: flatten the dquot lock ordering Introduce a new XFS_DQ_FREEING flag that tells lookup and mplist walks to skip a dquot that is beeing freed, and use this avoid the trylock on the hash and mplist locks in xfs_qm_dqreclaim_one. Also simplify xfs_dqpurge by moving the inodes to a dispose list after marking them XFS_DQ_FREEING and avoid the locker ordering constraints. Signed-off-by: Christoph Hellwig Reviewed-by: Dave Chinner Signed-off-by: Ben Myers --- Reading git-diff-tree failed