Thread (37 messages) 37 messages, 4 authors, 2022-07-19

Re: [PATCH 06/10] md: stop using for_each_mddev in md_do_sync

From: Hannes Reinecke <hare@suse.de>
Date: 2022-07-18 07:03:45
Also in: linux-block

On 7/18/22 08:34, Christoph Hellwig wrote:
Just do a plain list_for_each that only grabs a mddev reference in
the case where the thread sleeps and restarts the list iteration.

Signed-off-by: Christoph Hellwig <hch@lst.de>
---
  drivers/md/md.c | 8 +++++---
  1 file changed, 5 insertions(+), 3 deletions(-)
Reviewed-by: Hannes Reinecke <hare@suse.de>

Cheers,

Hannes

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help