diff options
author | Chris Mason <chris.mason@oracle.com> | 2008-01-08 21:46:30 +0100 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2008-09-25 17:03:59 +0200 |
commit | e2008b61401ecb467a8ce1788fcd2116ae1cfbc1 (patch) | |
tree | 8f13935108abaca29c894ca1f9309c9813c9e194 /fs/btrfs/disk-io.h | |
parent | Btrfs: Move snapshot creation to commit time (diff) | |
download | linux-e2008b61401ecb467a8ce1788fcd2116ae1cfbc1.tar.xz linux-e2008b61401ecb467a8ce1788fcd2116ae1cfbc1.zip |
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/disk-io.h')
-rw-r--r-- | fs/btrfs/disk-io.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/btrfs/disk-io.h b/fs/btrfs/disk-io.h index dae9fba8efcd..828f3a2081b6 100644 --- a/fs/btrfs/disk-io.h +++ b/fs/btrfs/disk-io.h @@ -64,4 +64,5 @@ int btrfs_clear_buffer_defrag_done(struct extent_buffer *buf); int btrfs_read_buffer(struct extent_buffer *buf); u32 btrfs_csum_data(struct btrfs_root *root, char *data, u32 seed, size_t len); void btrfs_csum_final(u32 crc, char *result); +void btrfs_throttle(struct btrfs_root *root); #endif |