lkml.org 
[lkml]   [2021]   [Oct]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] block: schedule queue restart after BLK_STS_ZONE_RESOURCE
On Wed, Oct 20, 2021 at 01:04:04PM +0900, Naohiro Aota wrote:
> needs_restart = blk_mq_sched_needs_restart(hctx);
> + need_resource |= (prep == PREP_DISPATCH_NO_BUDGET);

Nit: I think this would be a little more readable as:

if (prep == PREP_DISPATCH_NO_BUDGET)
need_resource = true;

But otherwise the patch looks good:

Reviewed-by: Christoph Hellwig <hch@lst.de>

\
 
 \ /
  Last update: 2021-10-20 08:08    [W:0.090 / U:0.028 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site