summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorMiao Xie <miaox@cn.fujitsu.com>2014-03-06 13:55:02 +0800
committerJosef Bacik <jbacik@fb.com>2014-03-10 15:17:28 -0400
commit31f3d255c677073f83daa1e0671bbf2157bf8edc (patch)
tree5a832934a4a886a7f62a21a4cfb1c678e3fab134 /init
parent6c255e67cec1c38a0569c7f823eba63f9449ccf8 (diff)
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 <miaox@cn.fujitsu.com> Signed-off-by: Josef Bacik <jbacik@fb.com>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions