Re: [PATCH 8/9] block: allow to allocate req with REQF_PREEMPT when queue is frozen

2017-09-01 Thread Ming Lei
On Fri, Sep 01, 2017 at 03:43:39PM +, Bart Van Assche wrote: > On Fri, 2017-09-01 at 11:55 +0800, Ming Lei wrote: > > On Thu, Aug 31, 2017 at 10:50:25PM +, Bart Van Assche wrote: > > > On Fri, 2017-09-01 at 01:27 +0800, Ming Lei wrote: > > > > @@ -1413,9 +1414,17 @@ static struct request

Re: [PATCH 8/9] block: allow to allocate req with REQF_PREEMPT when queue is frozen

2017-09-01 Thread Bart Van Assche
On Fri, 2017-09-01 at 11:55 +0800, Ming Lei wrote: > On Thu, Aug 31, 2017 at 10:50:25PM +, Bart Van Assche wrote: > > On Fri, 2017-09-01 at 01:27 +0800, Ming Lei wrote: > > > @@ -1413,9 +1414,17 @@ static struct request *blk_old_get_request(struct > > > request_queue *q, > > > /* create ioc

Re: [PATCH 8/9] block: allow to allocate req with REQF_PREEMPT when queue is frozen

2017-08-31 Thread Ming Lei
On Thu, Aug 31, 2017 at 10:50:25PM +, Bart Van Assche wrote: > On Fri, 2017-09-01 at 01:27 +0800, Ming Lei wrote: > > @@ -1413,9 +1414,17 @@ static struct request *blk_old_get_request(struct > > request_queue *q, > > /* create ioc upfront */ > > create_io_context(gfp_mask, q->node); >

Re: [PATCH 8/9] block: allow to allocate req with REQF_PREEMPT when queue is frozen

2017-08-31 Thread Bart Van Assche
On Fri, 2017-09-01 at 01:27 +0800, Ming Lei wrote: > @@ -1413,9 +1414,17 @@ static struct request *blk_old_get_request(struct > request_queue *q, > /* create ioc upfront */ > create_io_context(gfp_mask, q->node); > > - ret = blk_queue_enter(q, !(gfp_mask &