I've made my first modification to the #Linux kernel, ever. 🎉
I have changed the function that decides which drive to read from in a #RAID1 setup in such a way that it always picks the drive that with the shorter queue, which is normally the #SSD code.
This gives me better drive utilisation in my mixed setup of one #CMR hard drive and one #SMR hard drive. Can't really say if performance is better, but the numbers look better.
I just forced one value to be always 1, which is a dirty hack. Maybe I can improve on it and actually turn it into a kernel patch some day. Improving life for everyone! ✨
So I'm rebuilding my main home dev system. I want everything except /𝚋𝚘𝚘𝚝 and 𝚜𝚠𝚊𝚙 to be #LUKS encrypted and #RAID1 mirrored. I'm not really interested in getting #LVM into the mix; I don't see any added value. So what's the best path? Boot from a dist #disc and set up #MD RAID1 sets, and then install onto them? Or what?
I've typically used #Fedora, but keeping current/upgrading has always been iffy or a pain. Maybe I should use #Ubuntu? #Debian users scared ne off years ago..