Re: [PATCH] block: call rq_qos_exit() after queue is frozen

2018-10-31 Thread Jens Axboe
On 10/24/18 7:18 AM, Ming Lei wrote: > rq_qos_exit() removes the current q->rq_qos, this action has to be > done after queue is frozen, otherwise the IO queue path may never > be waken up, then IO hang is caused. > > So fixes this issue by moving rq_qos_exit() after queue is frozen. Looks good,

Re: [PATCH] block: call rq_qos_exit() after queue is frozen

2018-10-30 Thread Ming Lei
On Wed, Oct 24, 2018 at 9:18 PM Ming Lei wrote: > > rq_qos_exit() removes the current q->rq_qos, this action has to be > done after queue is frozen, otherwise the IO queue path may never > be waken up, then IO hang is caused. > > So fixes this issue by moving rq_qos_exit() after queue is frozen.

[PATCH] block: call rq_qos_exit() after queue is frozen

2018-10-24 Thread Ming Lei
rq_qos_exit() removes the current q->rq_qos, this action has to be done after queue is frozen, otherwise the IO queue path may never be waken up, then IO hang is caused. So fixes this issue by moving rq_qos_exit() after queue is frozen. Cc: Josef Bacik Signed-off-by: Ming Lei ---