]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: try to avoid acquiring free space ctl's lock
authorLiu Bo <bo.li.liu@oracle.com>
Mon, 13 Feb 2017 23:42:30 +0000 (15:42 -0800)
committerDavid Sterba <dsterba@suse.com>
Fri, 17 Feb 2017 11:03:48 +0000 (12:03 +0100)
commit7bc1af4d56af70a48d5fc0f8548653dd3cba1edb
tree9d1634ec3c9d3c689ad44a874e6598acc33b1b99
parent4fd4b4a5e4b060faa569ca777c5c6b4a83caec5e
Btrfs: try to avoid acquiring free space ctl's lock

We don't need to take the lock if the block group has not been cached.

Signed-off-by: Liu Bo <bo.li.liu@oracle.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/extent-tree.c