[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <13e67e1243ebd96f3f56a150d47444ada47ebde0.camel@wdc.com>
Date: Thu, 12 Apr 2018 17:51:56 +0000
From: Bart Van Assche <Bart.VanAssche@....com>
To: "alan.christopher.jenkins@...il.com"
<alan.christopher.jenkins@...il.com>,
"linux-block@...r.kernel.org" <linux-block@...r.kernel.org>,
"axboe@...nel.dk" <axboe@...nel.dk>
CC: "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"stable@...r.kernel.org" <stable@...r.kernel.org>
Subject: Re: [PATCH] block: do not use interruptible wait anywhere
On Thu, 2018-04-12 at 17:23 +0100, Alan Jenkins wrote:
> @@ -947,14 +946,12 @@ int blk_queue_enter(struct request_queue *q, blk_mq_req_flags_t flags)
> */
> smp_rmb();
>
> - ret = wait_event_interruptible(q->mq_freeze_wq,
> + wait_event(q->mq_freeze_wq,
> (atomic_read(&q->mq_freeze_depth) == 0 &&
> (preempt || !blk_queue_preempt_only(q))) ||
> blk_queue_dying(q));
> if (blk_queue_dying(q))
> return -ENODEV;
> - if (ret)
> - return ret;
> }
> }
Hello Alan,
Please reindent the wait_event() arguments such that these remain aligned.
Anyway:
Reviewed-by: Bart Van Assche <bart.vanassche@....com>
Powered by blists - more mailing lists