commit | ca6646264b7dab662d84435441164bb2a8e8885a | [log] [tgz] |
---|---|---|
author | Chris Mason <chris.mason@oracle.com> | Tue Nov 27 11:16:35 2007 -0500 |
committer | Chris Mason <chris.mason@oracle.com> | Thu Sep 25 11:03:58 2008 -0400 |
tree | 166c8be6d3b941fac96bceaea1db8d4616d7442c | |
parent | 448d640b668dae3928591e83f2bf4ca9f4c06e52 [diff] [blame] |
Btrfs: Add efficient dirty accounting to the extent_map tree Signed-off-by: Chris Mason <chris.mason@oracle.com>
diff --git a/fs/btrfs/extent_map.h b/fs/btrfs/extent_map.h index 13c562f..2ffc0c7 100644 --- a/fs/btrfs/extent_map.h +++ b/fs/btrfs/extent_map.h
@@ -40,6 +40,7 @@ struct rb_root map; struct rb_root state; struct address_space *mapping; + u64 dirty_bytes; rwlock_t lock; struct extent_map_ops *ops; spinlock_t lru_lock;