Thread (59 messages) 59 messages, 7 authors, 2022-04-30

Re: [PATCH v2 02/12] md/raid5: Refactor raid5_make_request loop

From: Christoph Hellwig <hch@infradead.org>
Date: 2022-04-21 06:08:27
Also in: lkml

On Wed, Apr 20, 2022 at 01:54:15PM -0600, Logan Gunthorpe wrote:
Break immediately if raid5_get_active_stripe() returns NULL and deindent
the rest of the loop. Annotate this check with an unlikely().

This makes the code easier to read and reduces the indentation level.

No functional changes intended.
Looks good:

Reviewed-by: Christoph Hellwig <hch@lst.de>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help