diff options
author | Chris Mason <chris.mason@oracle.com> | 2007-11-27 11:16:35 -0500 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2008-09-25 11:03:58 -0400 |
commit | ca6646264b7dab662d84435441164bb2a8e8885a (patch) | |
tree | 166c8be6d3b941fac96bceaea1db8d4616d7442c /fs/btrfs/extent_map.h | |
parent | 448d640b668dae3928591e83f2bf4ca9f4c06e52 (diff) |
Btrfs: Add efficient dirty accounting to the extent_map tree
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/extent_map.h')
-rw-r--r-- | fs/btrfs/extent_map.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/btrfs/extent_map.h b/fs/btrfs/extent_map.h index 13c562f7cb6f..2ffc0c76338c 100644 --- a/fs/btrfs/extent_map.h +++ b/fs/btrfs/extent_map.h | |||
@@ -40,6 +40,7 @@ struct extent_map_tree { | |||
40 | struct rb_root map; | 40 | struct rb_root map; |
41 | struct rb_root state; | 41 | struct rb_root state; |
42 | struct address_space *mapping; | 42 | struct address_space *mapping; |
43 | u64 dirty_bytes; | ||
43 | rwlock_t lock; | 44 | rwlock_t lock; |
44 | struct extent_map_ops *ops; | 45 | struct extent_map_ops *ops; |
45 | spinlock_t lru_lock; | 46 | spinlock_t lru_lock; |