diff options
author | Ingo Molnar <mingo@elte.hu> | 2009-10-15 02:07:26 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-10-15 02:07:30 -0400 |
commit | a0738a688d1105cbf8d71868a1e020c6cdf42d4c (patch) | |
tree | 2cad553a9def773ce79b8fc793f89c0634187109 /fs/btrfs/ctree.h | |
parent | 89ccf465abe6b20d804a63ae20307970c441369d (diff) | |
parent | a3ccf63ee643ef243cbf8918da8b3f9238f10029 (diff) |
Merge branch 'linus' into x86/urgent
Merge reason: pull in latest, to be able to revert a patch there.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'fs/btrfs/ctree.h')
-rw-r--r-- | fs/btrfs/ctree.h | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h index dd8ced9814c4..1bb897ecdeeb 100644 --- a/fs/btrfs/ctree.h +++ b/fs/btrfs/ctree.h | |||
@@ -691,14 +691,17 @@ struct btrfs_space_info { | |||
691 | 691 | ||
692 | struct list_head list; | 692 | struct list_head list; |
693 | 693 | ||
694 | /* for controlling how we free up space for allocations */ | ||
695 | wait_queue_head_t allocate_wait; | ||
696 | wait_queue_head_t flush_wait; | ||
697 | int allocating_chunk; | ||
698 | int flushing; | ||
699 | |||
694 | /* for block groups in our same type */ | 700 | /* for block groups in our same type */ |
695 | struct list_head block_groups; | 701 | struct list_head block_groups; |
696 | spinlock_t lock; | 702 | spinlock_t lock; |
697 | struct rw_semaphore groups_sem; | 703 | struct rw_semaphore groups_sem; |
698 | atomic_t caching_threads; | 704 | atomic_t caching_threads; |
699 | |||
700 | int allocating_chunk; | ||
701 | wait_queue_head_t wait; | ||
702 | }; | 705 | }; |
703 | 706 | ||
704 | /* | 707 | /* |
@@ -907,6 +910,7 @@ struct btrfs_fs_info { | |||
907 | * A third pool does submit_bio to avoid deadlocking with the other | 910 | * A third pool does submit_bio to avoid deadlocking with the other |
908 | * two | 911 | * two |
909 | */ | 912 | */ |
913 | struct btrfs_workers generic_worker; | ||
910 | struct btrfs_workers workers; | 914 | struct btrfs_workers workers; |
911 | struct btrfs_workers delalloc_workers; | 915 | struct btrfs_workers delalloc_workers; |
912 | struct btrfs_workers endio_workers; | 916 | struct btrfs_workers endio_workers; |
@@ -914,6 +918,7 @@ struct btrfs_fs_info { | |||
914 | struct btrfs_workers endio_meta_write_workers; | 918 | struct btrfs_workers endio_meta_write_workers; |
915 | struct btrfs_workers endio_write_workers; | 919 | struct btrfs_workers endio_write_workers; |
916 | struct btrfs_workers submit_workers; | 920 | struct btrfs_workers submit_workers; |
921 | struct btrfs_workers enospc_workers; | ||
917 | /* | 922 | /* |
918 | * fixup workers take dirty pages that didn't properly go through | 923 | * fixup workers take dirty pages that didn't properly go through |
919 | * the cow mechanism and make them safe to write. It happens | 924 | * the cow mechanism and make them safe to write. It happens |
@@ -1005,6 +1010,8 @@ struct btrfs_root { | |||
1005 | atomic_t log_commit[2]; | 1010 | atomic_t log_commit[2]; |
1006 | unsigned long log_transid; | 1011 | unsigned long log_transid; |
1007 | unsigned long log_batch; | 1012 | unsigned long log_batch; |
1013 | pid_t log_start_pid; | ||
1014 | bool log_multiple_pids; | ||
1008 | 1015 | ||
1009 | u64 objectid; | 1016 | u64 objectid; |
1010 | u64 last_trans; | 1017 | u64 last_trans; |
@@ -2323,7 +2330,7 @@ int btrfs_orphan_del(struct btrfs_trans_handle *trans, struct inode *inode); | |||
2323 | void btrfs_orphan_cleanup(struct btrfs_root *root); | 2330 | void btrfs_orphan_cleanup(struct btrfs_root *root); |
2324 | int btrfs_cont_expand(struct inode *inode, loff_t size); | 2331 | int btrfs_cont_expand(struct inode *inode, loff_t size); |
2325 | int btrfs_invalidate_inodes(struct btrfs_root *root); | 2332 | int btrfs_invalidate_inodes(struct btrfs_root *root); |
2326 | extern struct dentry_operations btrfs_dentry_operations; | 2333 | extern const struct dentry_operations btrfs_dentry_operations; |
2327 | 2334 | ||
2328 | /* ioctl.c */ | 2335 | /* ioctl.c */ |
2329 | long btrfs_ioctl(struct file *file, unsigned int cmd, unsigned long arg); | 2336 | long btrfs_ioctl(struct file *file, unsigned int cmd, unsigned long arg); |