[PATCH] (Re: Questions regarding startup of imsm container)

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Luca Berra
Date: Tuesday, March 23, 2010 - 1:04 am

On Mon, Mar 22, 2010 at 09:56:01PM -0600, Randy Terbush wrote:
please read mdadm.conf manpage, under the section "HOMEHOST"


i don't believe it makes sense at all, surely imsm do not support an
internal bitmap (no provisioning for it in the metadata)

The attached patch completely disables bitmap support for arrays with
externally managed metadata.

on a style note, i do not like having the struct superswitch, which is a
collection of function pointers which is then instanced with only some
of the pointers initialized, it forces having to check at runtime if
they are or not.
a possible solution would be to wrap every call of these into a macro
that check for NULL before, but how do you return the correct return
type from that?

L.

-- 
Luca Berra -- bluca@comedia.it
          Communication Media & Services S.r.l.
   /"\
   \ /     ASCII RIBBON CAMPAIGN
    X        AGAINST HTML MAIL
   / \
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Questions regarding startup of imsm container, Randy Terbush, (Mon Mar 22, 8:56 pm)
[PATCH] (Re: Questions regarding startup of imsm container), Luca Berra, (Tue Mar 23, 1:04 am)
Re: (Re: Questions regarding startup of imsm container), Randy Terbush, (Tue Mar 23, 7:33 am)
Re: (Re: Questions regarding startup of imsm container), Randy Terbush, (Tue Mar 23, 7:49 am)
Re: Questions regarding startup of imsm container, Dan Williams, (Tue Mar 23, 2:01 pm)
Re: Questions regarding startup of imsm container, Randy Terbush, (Tue Mar 23, 2:41 pm)
Re: Questions regarding startup of imsm container, Dan Williams, (Tue Mar 23, 3:16 pm)
Re: (Re: Questions regarding startup of imsm container), Dan Williams, (Tue Mar 23, 3:41 pm)
Re: Questions regarding startup of imsm container, Randy Terbush, (Tue Mar 23, 4:25 pm)
Re: Questions regarding startup of imsm container, Randy Terbush, (Tue Mar 23, 5:23 pm)
Re: Questions regarding startup of imsm container, Randy Terbush, (Tue Mar 23, 9:14 pm)
Re: Questions regarding startup of imsm container, Dan Williams, (Tue Mar 23, 10:54 pm)
Re: (Re: Questions regarding startup of imsm container), Randy Terbush, (Wed Mar 24, 2:35 pm)