aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/ctree.h
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2007-06-08 18:11:48 -0400
committerDavid Woodhouse <dwmw2@hera.kernel.org>2007-06-08 18:11:48 -0400
commitfacda1e787d43191a3368c322f682054991c41b8 (patch)
tree53f64db2d80ee138adc997cccae979c87fd52a7b /fs/btrfs/ctree.h
parent08607c1b182b3b8b54d7141a0c012cda17d201e6 (diff)
Btrfs: get forced transaction commits via workqueue
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/ctree.h')
-rw-r--r--fs/btrfs/ctree.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h
index 74e6aadf6bb7..e93ba1a5c812 100644
--- a/fs/btrfs/ctree.h
+++ b/fs/btrfs/ctree.h
@@ -283,6 +283,7 @@ struct btrfs_block_group_cache {
283struct crypto_hash; 283struct crypto_hash;
284 284
285struct btrfs_fs_info { 285struct btrfs_fs_info {
286 spinlock_t hash_lock;
286 struct btrfs_root *extent_root; 287 struct btrfs_root *extent_root;
287 struct btrfs_root *tree_root; 288 struct btrfs_root *tree_root;
288 struct btrfs_root *dev_root; 289 struct btrfs_root *dev_root;
@@ -308,10 +309,11 @@ struct btrfs_fs_info {
308 struct mutex trans_mutex; 309 struct mutex trans_mutex;
309 struct mutex fs_mutex; 310 struct mutex fs_mutex;
310 struct list_head trans_list; 311 struct list_head trans_list;
312 struct list_head dead_roots;
311 struct crypto_hash *hash_tfm; 313 struct crypto_hash *hash_tfm;
312 struct delayed_work trans_work; 314 struct delayed_work trans_work;
313 spinlock_t hash_lock;
314 int do_barriers; 315 int do_barriers;
316 int closing;
315}; 317};
316 318
317/* 319/*