From: Miao Xie Date: Tue, 29 Jan 2013 10:11:59 +0000 (+0000) Subject: Btrfs: use the inode own lock to protect its delalloc_bytes X-Git-Tag: v3.9-rc1~17^2~29^2~48 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=df0af1a57f72c74d53a9377c60ff20095afab97d;p=pandora-kernel.git Btrfs: use the inode own lock to protect its delalloc_bytes We need not use a global lock to protect the delalloc_bytes of the inode, just use its own lock. In this way, we can reduce the lock contention and ->delalloc_lock will just protect delalloc inode list. Signed-off-by: Miao Xie Signed-off-by: Josef Bacik --- Reading git-diff-tree failed