]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
Btrfs: get better concurrency for snapshot-aware defrag work
authorLiu Bo <bo.li.liu@oracle.com>
Mon, 11 Mar 2013 09:20:58 +0000 (09:20 +0000)
committerChris Mason <chris.mason@fusionio.com>
Thu, 14 Mar 2013 18:50:19 +0000 (14:50 -0400)
commita09a0a705dd6c80bc96b5e6f18dc103d4e1a7d63
tree50112ba483bf6994438973db5ead8b145b1437fb
parentde3cb945db4d8eb3b046dc7a5ea89a893372750c
Btrfs: get better concurrency for snapshot-aware defrag work

Using spinning case instead of blocking will result in better concurrency
overall.

Signed-off-by: Liu Bo <bo.li.liu@oracle.com>
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
fs/btrfs/inode.c