On Mon, May 12, 2025 at 04:15:34PM +0800, Yu Kuai wrote: >>> +static bool is_raid456(struct mddev *mddev) >>> +{ >>> + return (mddev->level == 4 || mddev->level == 5 || mddev->level == 6); >>> +} >> >> This really should be in a common helper somewhere.. > > Perhaps md.h?
Sounds good.