Messages in this thread | | | Date | Mon, 4 May 2015 13:10:40 -0600 | From | Jens Axboe <> | Subject | Re: [PATCH] blk-mq: fix FUA request hang |
| |
On 05/01/2015 10:59 AM, Shaohua Li wrote: > When a FUA request enters its DATA stage of flush pipeline, the > request is added to mq requeue list, the request will then be added to > ctx->rq_list. blk_mq_attempt_merge() might merge the request with a bio. > Later when the request is finished the flush pipeline, the > request->__data_len is 0. Then I only saw the bio gets endio called, the > original request never finish. > > Adding REQ_FLUSH_SEQ into REQ_NOMERGE_FLAGS looks an easy fix.
Thanks, applied.
-- Jens Axboe
| |