File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3232
3333enum {
3434 IO_WQ_BIT_EXIT = 0 , /* wq exiting */
35- IO_WQ_BIT_ERROR = 1 , /* error on setup */
3635};
3736
3837enum {
@@ -733,7 +732,6 @@ static int io_wq_manager(void *data)
733732{
734733 struct io_wq * wq = data ;
735734 char buf [TASK_COMM_LEN ];
736- int node ;
737735
738736 sprintf (buf , "iou-mgr-%d" , wq -> task_pid );
739737 set_task_comm (current , buf );
@@ -751,14 +749,6 @@ static int io_wq_manager(void *data)
751749 } while (!test_bit (IO_WQ_BIT_EXIT , & wq -> state ));
752750
753751 io_wq_check_workers (wq );
754-
755- /* if ERROR is set and we get here, we have workers to wake */
756- if (test_bit (IO_WQ_BIT_ERROR , & wq -> state )) {
757- rcu_read_lock ();
758- for_each_node (node )
759- io_wq_for_each_worker (wq -> wqes [node ], io_wq_worker_wake , NULL );
760- rcu_read_unlock ();
761- }
762752 wq -> manager = NULL ;
763753 io_wq_put (wq );
764754 do_exit (0 );
You can’t perform that action at this time.
0 commit comments