aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/ctree.h
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2008-01-08 15:46:30 -0500
committerChris Mason <chris.mason@oracle.com>2008-09-25 11:03:59 -0400
commite2008b61401ecb467a8ce1788fcd2116ae1cfbc1 (patch)
tree8f13935108abaca29c894ca1f9309c9813c9e194 /fs/btrfs/ctree.h
parent3063d29f2a4d4a4e9fa1ec77c124514f287c6da7 (diff)
Btrfs: Add some simple throttling to wait for data=ordered and snapshot deletion
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/ctree.h')
-rw-r--r--fs/btrfs/ctree.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h
index b55dba58dfa..f0fb1978553 100644
--- a/fs/btrfs/ctree.h
+++ b/fs/btrfs/ctree.h
@@ -345,6 +345,7 @@ struct btrfs_fs_info {
345 struct completion kobj_unregister; 345 struct completion kobj_unregister;
346 int do_barriers; 346 int do_barriers;
347 int closing; 347 int closing;
348 unsigned long throttles;
348 349
349 u64 total_pinned; 350 u64 total_pinned;
350 spinlock_t delalloc_lock; 351 spinlock_t delalloc_lock;