[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <8e564dcc-8bdf-4fc7-a8f0-4c0c7d3547cb@fnnas.com>
Date: Sat, 8 Nov 2025 18:02:00 +0800
From: "Yu Kuai" <yukuai@...as.com>
To: <linan666@...weicloud.com>, <song@...nel.org>, <neil@...wn.name>,
<namhyung@...il.com>
Cc: <linux-raid@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<xni@...hat.com>, <k@...l.me>, <yangerkun@...wei.com>,
<yi.zhang@...wei.com>
Subject: Re: [PATCH v2 01/11] md/raid1: simplify uptodate handling in end_sync_write
在 2025/11/6 19:59, linan666@...weicloud.com 写道:
> In end_sync_write, r1bio state is always set to either R1BIO_WriteError
> or R1BIO_MadeGood. Consequently, put_sync_write_buf() never takes the
> 'else' branch that calls md_done_sync(), making the uptodate parameter
> have no practical effect.
>
> Pass 1 to put_sync_write_buf(). A more complete cleanup will be done in
> a follow-up patch.
>
> Signed-off-by: Li Nan<linan122@...wei.com>
> ---
> drivers/md/raid1.c | 5 ++---
> 1 file changed, 2 insertions(+), 3 deletions(-)
LGTM
Reviewed-by: Yu Kuai <yukuai@...as.com>
Powered by blists - more mailing lists