diff options
author | Chris Mason <chris.mason@oracle.com> | 2007-06-08 18:11:48 -0400 |
---|---|---|
committer | David Woodhouse <dwmw2@hera.kernel.org> | 2007-06-08 18:11:48 -0400 |
commit | facda1e787d43191a3368c322f682054991c41b8 (patch) | |
tree | 53f64db2d80ee138adc997cccae979c87fd52a7b /fs/btrfs/ctree.h | |
parent | 08607c1b182b3b8b54d7141a0c012cda17d201e6 (diff) | |
download | kernel_samsung_smdk4412-facda1e787d43191a3368c322f682054991c41b8.zip kernel_samsung_smdk4412-facda1e787d43191a3368c322f682054991c41b8.tar.gz kernel_samsung_smdk4412-facda1e787d43191a3368c322f682054991c41b8.tar.bz2 |
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.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h index 74e6aad..e93ba1a 100644 --- a/fs/btrfs/ctree.h +++ b/fs/btrfs/ctree.h @@ -283,6 +283,7 @@ struct btrfs_block_group_cache { struct crypto_hash; struct btrfs_fs_info { + spinlock_t hash_lock; struct btrfs_root *extent_root; struct btrfs_root *tree_root; struct btrfs_root *dev_root; @@ -308,10 +309,11 @@ struct btrfs_fs_info { struct mutex trans_mutex; struct mutex fs_mutex; struct list_head trans_list; + struct list_head dead_roots; struct crypto_hash *hash_tfm; struct delayed_work trans_work; - spinlock_t hash_lock; int do_barriers; + int closing; }; /* |