Btrfs: Kill allocate_wait in space_info
PATCH v2 2/12 Btrfs: Kill allocate_wait in space_info
We already have fs_info->chunk_mutex to avoid concurrent chunk creation.
Signed-off-by Yan Zheng <[email protected]>
---
fs/btrfs/ctree.h +0 -2
@@ -700,9 +700,7 @@ struct btrfs_space_info {struct list_head list;/* for controlling how we free up space for allocations */ -wait_queue_head_t allocate_wait;wait_queue_head_t flush_wait; -int allocating_chunk;int flushing;/* for block groups in our same type */
fs/btrfs/extent-tree.c +58 -74
192 lines not on this page · raw message