On Thu, Oct 12, 2017 at 02:36:11AM +0300, Rostislav Krasny wrote:
> On Thu, Oct 12, 2017 at 1:10 AM, Stefan Sperling <s...@stsp.name> wrote:
> > On Thu, Oct 12, 2017 at 12:18:52AM +0300, Rostislav Krasny wrote:
> >> You just lose users and popularity.
> >
> > In this community, your statement has the opposite effect of what it is
> > trying to achieve. It puts developers off and discourages them from
> > worrying about your problem.
> >
> > At any given moment, there are enough problems developers have to worry
> > about already. Hardware they want to use which does not work yet, new
> > problems people report in code they've recently changed, chasing new
> > developments in code they've ported from other projects, new features
> > they want to implement, etc. etc.; all stacked against limited time.
> > Worrying about popularity on top of it all would just be distracting.
> >
> > The mindset here is that if you really want something fixed in OpenBSD,
> > try to fix it yourself, and then try to share your fix with the rest of us.
> > That's how, collectively, we produce value, and popularity has nothing to
> > do with it.
> 
> I'm not familiar with the OpenBSD code and I even don't have a working
> OpenBSD system to try fixing it by myself.
> 
> I think you can easily identify hard disks that are not part of any
> software RAID array and support only them when the RAID mode is
> enabled in BIOS. You can do it by looking for the 0xa92b4efc "Magic
> Number" of the RAID superblock at the end of the disk and at 4K from
> the beginning of the disk. If it's NOT present then this disk is not
> part of any RAID array and you may use it directly as in AHCI mode. It
> seems you don't have to understand the whole RAID metadata but only be
> able to identify its presence.
> 
> I found it there:
> https://raid.wiki.kernel.org/index.php/RAID_superblock_formats
> https://github.com/neilbrown/mdadm/blob/master/md_p.h
> 
> Also Intel officially recomends the mdadm tool and participated in its
> development, so the above information should be good:
> https://www.intel.com/content/dam/www/public/us/en/documents/white-papers/rst-linux-paper.pdf
> ===
> The recommended software RAID implementation in Linux* is the open
> source MD RAID package. Intel has enhanced MD RAID to support RST
> metadata and OROM and it is validated and supported by Intel for
> server platforms.
> ===
> 

Sounds like you've already done most of the research.

Your diff to implement this will be most welcome on tech@.

-ml

Reply via email to