We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 966120b commit bb24174Copy full SHA for bb24174
drivers/block/ublk_drv.c
@@ -605,8 +605,9 @@ static void ublk_complete_rq(struct request *req)
605
}
606
607
/*
608
- * __ublk_fail_req() may be called from abort context or ->ubq_daemon
609
- * context during exiting, so lock is required.
+ * Since __ublk_rq_task_work always fails requests immediately during
+ * exiting, __ublk_fail_req() is only called from abort context during
610
+ * exiting. So lock is unnecessary.
611
*
612
* Also aborting may not be started yet, keep in mind that one failed
613
* request may be issued by block layer again.
0 commit comments