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,
if (blk_queue_dying(q)) return -ENODEV;wait_event(q->mq_freeze_wq, (atomic_read(&q->mq_freeze_depth) == 0 && (preempt || !blk_queue_preempt_only(q))) || blk_queue_dying(q));
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@wdc.com