On 4/7/19 4:03 AM, Shenghui Wang wrote:
/*
- * Drain all requests queued before DYING marking. Set DEAD flag to
+ * Drain all requests queued before DEAD marking. Set DEAD flag to
* prevent that q->request_fn() gets invoked after draining finished.
*/
No new requests can be queued between the "dying" and "dead" states. I wrote "dying" in that comment because I meant "dying". See also commit 3f3299d5c026 ("block: Rename queue dead flag").
Bart.
