Re: "Enhanced" MD code avaible for review
From: Justin T. Gibbs
Date: Tue Mar 30 2004 - 12:58:20 EST
> At 03:43 AM 27/03/2004, Justin T. Gibbs wrote:
>> I posted a rather detailed, technical, analysis of what I believe would
>> be required to make this work correctly using a userland approach. The
>> only response I've received is from Neil Brown. Please, point out, in
>> a technical fashion, how you would address the feature set being proposed:
> i'll have a go.
> your position is one of "put it all in the kernel".
> Jeff, Neil, Kevin et al is one of "it can live in userspace".
Please don't misrepresent or over simplify my statements. What
I have said is that meta-data reading and writing should occur in
only one place. Since, as has already been acknowledged by many,
meta-data updates are required in the kernel, that means this support
should be handled in the kernel. Any other solution adds complexity
and size to the solution.
> to that end, i agree with the userspace approach.
> the way i personally believe that it SHOULD happen is that you tie
> your metadata format (and RAID format, if its different to others) into DM.
Saying how you think something should happen without any technical
argument for it, doesn't help me to understand the benefits of your
> perhaps that means that you guys could provide enhancements to grub/lilo
> if they are insufficient for things like finding a secondary copy of
> initrd/vmlinuz. (if such issues exist, wouldn't it be better to do things
> the "open source way" and help improve the overall tools, if the end goal
> ends up being the same: enabling YOUR system to work better?)
I don't understand your argument. We have improved an already existing
opensource driver to provide this functionality. This is not the
> then answering your other points:
Again, you have presented strategies that may or may not work, but
no technical arguments for their superiority over placing meta-data
in the kernel.
> there may be less lines of code involved in "entirely in kernel" for YOUR
> hardware -- but what about when 4 other storage vendors come out with such
> a card?
There will be less lines of code total for any vendor that decides to
add a new meta-data type. All the vendor has to do is provide a meta-data
module. There are no changes to the userland utilities (they know nothing
about specific meta-data formats), to the RAID transform modules, or to
the core of EMD. If this were not the case, there would be little point
to the EMD work.
> what if someone wants to use your card in conjunction with the storage
> being multipathed or replicated automatically?
> what about when someone wants to create snapshots for backups?
> all that functionality has to then go into your EMD driver.
No. DM already works on any block device exported to the kernel.
EMD exports its devices as block devices. Thus, all of the DM
functionality you are talking about is also available for EMD.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/