diff options
author | Chris Mason <chris.mason@oracle.com> | 2007-06-08 15:33:54 -0400 |
---|---|---|
committer | David Woodhouse <dwmw2@hera.kernel.org> | 2007-06-08 15:33:54 -0400 |
commit | 08607c1b182b3b8b54d7141a0c012cda17d201e6 (patch) | |
tree | d0cf03f3c03ca513377f85cf58ee0fbafcfd3f00 /fs/btrfs/transaction.h | |
parent | fabb568183de7996257080260d3537fa75b3667e (diff) |
Btrfs: add compat ioctl
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/transaction.h')
-rw-r--r-- | fs/btrfs/transaction.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/fs/btrfs/transaction.h b/fs/btrfs/transaction.h index b5378119e76c..0b08208be853 100644 --- a/fs/btrfs/transaction.h +++ b/fs/btrfs/transaction.h | |||
@@ -11,6 +11,7 @@ struct btrfs_transaction { | |||
11 | int magic; | 11 | int magic; |
12 | struct list_head list; | 12 | struct list_head list; |
13 | struct radix_tree_root dirty_pages; | 13 | struct radix_tree_root dirty_pages; |
14 | unsigned long start_time; | ||
14 | wait_queue_head_t writer_wait; | 15 | wait_queue_head_t writer_wait; |
15 | wait_queue_head_t commit_wait; | 16 | wait_queue_head_t commit_wait; |
16 | }; | 17 | }; |
@@ -47,4 +48,11 @@ int btrfs_write_and_wait_transaction(struct btrfs_trans_handle *trans, | |||
47 | struct btrfs_root *root); | 48 | struct btrfs_root *root); |
48 | int btrfs_commit_tree_roots(struct btrfs_trans_handle *trans, | 49 | int btrfs_commit_tree_roots(struct btrfs_trans_handle *trans, |
49 | struct btrfs_root *root); | 50 | struct btrfs_root *root); |
51 | |||
52 | void btrfs_transaction_cleaner(struct work_struct *work); | ||
53 | void btrfs_transaction_flush_work(struct btrfs_root *root); | ||
54 | void btrfs_transaction_queue_work(struct btrfs_root *root, int delay); | ||
55 | void btrfs_init_transaction_sys(void); | ||
56 | void btrfs_exit_transaction_sys(void); | ||
57 | |||
50 | #endif | 58 | #endif |