search for: btrfs_worker_thread

Displaying 3 results from an estimated 3 matches for "btrfs_worker_thread".

2011 Dec 23
2
re: Btrfs: fix num_workers_starting bug and other bugs in async thread
...596 fallback = workers->worker_list.next; 597 if (!list_empty(&workers->idle_list)) 598 fallback = workers->idle_list.next; 599 BUG_ON(!fallback); 600 worker = list_entry(fallback, 601 struct btrfs_worker_thread, worker_list); 602 found: 603 /* 604 * this makes sure the worker doesn''t exit before it is placed 605 * onto a busy/idle list 606 */ 607 atomic_inc(&worker->num_pending); 608 spin_unlock_irqrestore(&...
2011 Aug 26
0
[PATCH] Btrfs: make some functions return void
...{ if (!workers->ordered) - return 0; + return; set_bit(WORK_DONE_BIT, &work->flags); @@ -219,7 +219,6 @@ static noinline int run_ordered_completions(struct btrfs_workers *workers, } spin_unlock(&workers->order_lock); - return 0; } static void put_worker(struct btrfs_worker_thread *worker) @@ -405,7 +404,7 @@ again: /* * this will wait for all the worker threads to shutdown */ -int btrfs_stop_workers(struct btrfs_workers *workers) +void btrfs_stop_workers(struct btrfs_workers *workers) { struct list_head *cur; struct btrfs_worker_thread *worker; @@ -433,7 +432,6 @@...
2011 Oct 04
68
[patch 00/65] Error handling patchset v3
Hi all - Here''s my current error handling patchset, against 3.1-rc8. Almost all of this patchset is preparing for actual error handling. Before we start in on that work, I''m trying to reduce the surface we need to worry about. It turns out that there is a ton of code that returns an error code but never actually reports an error. The patchset has grown to 65 patches. 46 of them