commit | e2008b61401ecb467a8ce1788fcd2116ae1cfbc1 | [log] [tgz] |
---|---|---|
author | Chris Mason <chris.mason@oracle.com> | Tue Jan 08 15:46:30 2008 -0500 |
committer | Chris Mason <chris.mason@oracle.com> | Thu Sep 25 11:03:59 2008 -0400 |
tree | 8f13935108abaca29c894ca1f9309c9813c9e194 | |
parent | 3063d29f2a4d4a4e9fa1ec77c124514f287c6da7 [diff] [blame] |
Btrfs: Add some simple throttling to wait for data=ordered and snapshot deletion Signed-off-by: Chris Mason <chris.mason@oracle.com>
diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h index b55dba58..f0fb197 100644 --- a/fs/btrfs/ctree.h +++ b/fs/btrfs/ctree.h
@@ -345,6 +345,7 @@ struct completion kobj_unregister; int do_barriers; int closing; + unsigned long throttles; u64 total_pinned; spinlock_t delalloc_lock;