aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/btrfs_inode.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/btrfs/btrfs_inode.h')
-rw-r--r--fs/btrfs/btrfs_inode.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/fs/btrfs/btrfs_inode.h b/fs/btrfs/btrfs_inode.h
index 82ee56bba299..c71abec0ab90 100644
--- a/fs/btrfs/btrfs_inode.h
+++ b/fs/btrfs/btrfs_inode.h
@@ -128,6 +128,16 @@ struct btrfs_inode {
128 u64 last_unlink_trans; 128 u64 last_unlink_trans;
129 129
130 /* 130 /*
131 * Counters to keep track of the number of extent item's we may use due
132 * to delalloc and such. outstanding_extents is the number of extent
133 * items we think we'll end up using, and reserved_extents is the number
134 * of extent items we've reserved metadata for.
135 */
136 spinlock_t accounting_lock;
137 int reserved_extents;
138 int outstanding_extents;
139
140 /*
131 * ordered_data_close is set by truncate when a file that used 141 * ordered_data_close is set by truncate when a file that used
132 * to have good data has been truncated to zero. When it is set 142 * to have good data has been truncated to zero. When it is set
133 * the btrfs file release call will add this inode to the 143 * the btrfs file release call will add this inode to the