aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/async-thread.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/btrfs/async-thread.h')
-rw-r--r--fs/btrfs/async-thread.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/fs/btrfs/async-thread.h b/fs/btrfs/async-thread.h
index 52fc9da0f9e7..3436ff897597 100644
--- a/fs/btrfs/async-thread.h
+++ b/fs/btrfs/async-thread.h
@@ -60,11 +60,12 @@ struct btrfs_workers {
60 /* max number of workers allowed. changed by btrfs_start_workers */ 60 /* max number of workers allowed. changed by btrfs_start_workers */
61 int max_workers; 61 int max_workers;
62 62
63 /* once a worker has this many requests or fewer, it is idle */
64 int idle_thresh;
65
63 /* list with all the work threads */ 66 /* list with all the work threads */
64 struct list_head worker_list; 67 struct list_head worker_list;
65 68 struct list_head idle_list;
66 /* the last worker thread to have something queued */
67 struct btrfs_worker_thread *last;
68 69
69 /* lock for finding the next worker thread to queue on */ 70 /* lock for finding the next worker thread to queue on */
70 spinlock_t lock; 71 spinlock_t lock;