Skip to contentSkip to conversation

Btrfs: Kill allocate_wait in space_info

PATCH New Yan, Zheng 1 participant 1 message Apr 26, 2010 Btrfs file system

lore
Share & tools
lore

Yan, Zheng

author
#0 lore raw

PATCH v2 2/12 Btrfs: Kill allocate_wait in space_info

We already have fs_info->chunk_mutex to avoid concurrent chunk creation.

---

fs/btrfs/ctree.h +0 -2
diff -urp 2/fs/btrfs/ctree.h 3/fs/btrfs/ctree.h
@@ -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