From: Miao Xie Date: Thu, 6 Mar 2014 05:55:02 +0000 (+0800) Subject: Btrfs: split the global ordered extents mutex X-Git-Tag: v3.15-rc1~96^2~14 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=31f3d255c677073f83daa1e0671bbf2157bf8edc;p=pandora-kernel.git Btrfs: split the global ordered extents mutex When we create a snapshot, we just need wait the ordered extents in the source fs/file root, but because we use the global mutex to protect this ordered extents list of the source fs/file root to avoid accessing a empty list, if someone got the mutex to access the ordered extents list of the other fs/file root, we had to wait. This patch splits the above global mutex, now every fs/file root has its own mutex to protect its own list. Signed-off-by: Miao Xie Signed-off-by: Josef Bacik --- Reading git-diff-tree failed