diff options
author | Chris Mason <chris.mason@oracle.com> | 2008-04-25 12:51:48 (GMT) |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2008-09-25 15:04:02 (GMT) |
commit | 81d7ed29ff6bdec903c36c26b386e16c014993b2 (patch) | |
tree | 561f6d5b85c9af14acc97ec45b6ce6622c3ec3f4 /fs/btrfs/ordered-data.h | |
parent | bce4eae9864e6b6ebde5d7f05576ff0a6c3724d0 (diff) | |
download | linux-fsl-qoriq-81d7ed29ff6bdec903c36c26b386e16c014993b2.tar.xz |
Btrfs: Throttle file_write when data=ordered is flushing the inode
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/ordered-data.h')
-rw-r--r-- | fs/btrfs/ordered-data.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/btrfs/ordered-data.h b/fs/btrfs/ordered-data.h index f25c677..29047e0 100644 --- a/fs/btrfs/ordered-data.h +++ b/fs/btrfs/ordered-data.h @@ -39,4 +39,5 @@ int btrfs_find_first_ordered_inode(struct btrfs_ordered_inode_tree *tree, u64 *root_objectid, u64 *objectid, struct inode **inode); int btrfs_del_ordered_inode(struct inode *inode); +int btrfs_ordered_throttle(struct btrfs_root *root, struct inode *inode); #endif |