On 30 Sep 2020, David Madore verbalised: > On Wed, Sep 30, 2020 at 09:16:10PM +0100, antlists wrote: >> The problem is that if you use mdadm 3.4 with kernel 4.9.237, the 237 means >> that your kernel has been heavily updated and is far too new. But if you use >> mdadm 4.1 with kernel 4.9.237, the 4.9 means that the kernel is basically a >> very old one - too old for mdadm 4.1 > > But the point of the longterm kernel lines like 4.9.237 is to keep > strict compatibility with the original branch point (that's the point > of a "stable" line) and perform only bugfixes, isn't it? Do you mean Yes... but the older a kernel release is, the less testing it gets for edge cases, and reshaping is an edge case that doesn't happen very often. I'm not terribly surprised that nobody turns out to have been testing it in this kernel line and that it's rusted as a consqueence. (Reshaping in conjunction with systemd is probably even rarer, because reshaping tends to happen when you run out of disk space and need more, or when disks age out and need replacement, which means it happens on fairly old, stable machines -- and probably, even now, most such old machines aren't running systemd and aren't exercising the buggy code triggered by that systemd unit file.) > to say that there is NO stable kernel line with full mdadm support? The question isn't "full support", the question is "what gets a lot of testing"? Recent, supported stable kernels get a lot of testing, so they are likely to have exercised relatively obscure paths like this one.