diff options
author | Chris Mason <chris.mason@oracle.com> | 2008-07-22 23:06:41 -0400 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2008-09-25 11:04:05 -0400 |
commit | c286ac48ed7aaf53586f575af6053ae2a0f8554a (patch) | |
tree | 794cb0e7269c62568e39c160b0f0f03e181c1d93 /fs/btrfs/ctree.h | |
parent | e34a5b4f77b8448cf2863ad0cbac35e2c2a86a0a (diff) |
Btrfs: alloc_mutex latency reduction
This releases the alloc_mutex in a few places that hold it for over long
operations. btrfs_lookup_block_group is changed so that it doesn't need
the mutex at all.
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/ctree.h')
-rw-r--r-- | fs/btrfs/ctree.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h index eeb5afa6e9b1..90504ba7f838 100644 --- a/fs/btrfs/ctree.h +++ b/fs/btrfs/ctree.h | |||
@@ -483,6 +483,7 @@ struct btrfs_block_group_cache { | |||
483 | struct btrfs_key key; | 483 | struct btrfs_key key; |
484 | struct btrfs_block_group_item item; | 484 | struct btrfs_block_group_item item; |
485 | struct btrfs_space_info *space_info; | 485 | struct btrfs_space_info *space_info; |
486 | spinlock_t lock; | ||
486 | u64 pinned; | 487 | u64 pinned; |
487 | u64 flags; | 488 | u64 flags; |
488 | int cached; | 489 | int cached; |