Re: [PATCH] null_blk: add support for max open/active zone limit for zoned devices

From: Niklas Cassel
Date: Thu Aug 27 2020 - 10:50:33 EST


On Tue, Aug 25, 2020 at 11:03:58PM +0000, Damien Le Moal wrote:
> On 2020/08/26 7:52, Damien Le Moal wrote:
> > On 2020/08/25 21:22, Niklas Cassel wrote:

(snip)

> Arg. No, you can't. There is the trace call after the switch. So please ignore
> this comment :)
>
> But you can still avoid repeating the "if (ret != BLK_STS_OK) return ret;" by
> calling the trace only for BLK_STS_OK and returning ret at the end.

Agreed.

Thank you for your review comments, much appreciated.

Will send out a V2 shortly.


Kind regards,
Niklas