Re: [PATCH stable/6.18-6.17] md: add check_new_feature module parameter
"Yu Kuai" <[email protected]>
| Newsgroups | gmane.linux.kernel.stable,gmane.linux.raid,gmane.linux.kernel |
|---|---|
| Message-ID | <[email protected]> |
Hi, 在 2025/12/17 22:04, Greg KH 写道: > On Wed, Dec 17, 2025 at 09:05:13PM +0800, [email protected] wrote: >> From: Li Nan <[email protected]> >> >> commit 9c47127a807da3e36ce80f7c83a1134a291fc021 upstream. >> >> Raid checks if pad3 is zero when loading superblock from disk. Arrays >> created with new features may fail to assemble on old kernels as pad3 >> is used. >> >> Add module parameter check_new_feature to bypass this check. > This is a new feature, why does it need to go to stable kernels? > > And a module parameter? Ugh, this isn't the 1990's anymore, this is not > good and will be a mess over time (think multiple devices...) Nan didn't mention the background. We won't backport the new feature to stable kernels(Although this fix a data lost problem in the case array is created with disks in different lbs, anyone is interested can do this). However, this backport is just used to provide a possible solution for user to still assemble arrays after switching to old LTS kernels when they are using the default lbs. I think this is fine to provide forward compatibility, please let us know if you do not like this, or Nan should send a new version with explanation. > > thanks, > > greg k-h > -- Thansk, Kuai