Btrfs: Add some simple throttling to wait for data=ordered and snapshot deletion

Signed-off-by: Chris Mason <chris.mason@oracle.com>
This commit is contained in:
Chris Mason
2008-01-08 15:46:30 -05:00
parent 3063d29f2a
commit e2008b6140
6 changed files with 26 additions and 0 deletions

View File

@@ -345,6 +345,7 @@ struct btrfs_fs_info {
struct completion kobj_unregister;
int do_barriers;
int closing;
unsigned long throttles;
u64 total_pinned;
spinlock_t delalloc_lock;