Re: [PATCH 1/2] md: Fix logical_block_size configuration being overwritten
"Yu Kuai" <[email protected]>
| Newsgroups | gmane.linux.raid,gmane.linux.kernel |
|---|---|
| Message-ID | <[email protected]> |
在 2025/12/19 17:21, [email protected] 写道: > From: Li Nan<[email protected]> > > In super_1_validate(), mddev->logical_block_size is directly overwritten > with the value from metadata. This causes the previously configured lbs > to be lost, making the configuration ineffective. Fix it. > > Fixes: 62ed1b582246 ("md: allow configuring logical block size") > Signed-off-by: Li Nan<[email protected]> > --- > drivers/md/md.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-)\ LGTM Reviewed-by: Yu Kuai <[email protected]> -- Thansk, Kuai