[dm-devel] [PATCH] dm-raid: check for zero feature flags in metadata

Heinz Mauelshagen heinzm at redhat.com
Mon May 9 15:20:58 UTC 2016



On 04/30/2016 02:31 AM, Alasdair G Kergon wrote:
> On Fri, Apr 29, 2016 at 06:59:56PM +0200, heinzm at redhat.com wrote:
>> +	rs->ti->error = "Unable to assemble array: No feature flags supported yet";
>> +	if (le32_to_cpu(sb->features)) /* No features supported yet */
> Is it worth splitting this into compat_flags and incompat_flags like we did in
> thin and cache?

I'm envisioning a single feature flag for future reshape/takeover 
functionality.
Seems like a good idea still so I'll add this to the RAID superblock 
metadata changes.

Heinz

>
> Alasdair
>
> --
> dm-devel mailing list
> dm-devel at redhat.com
> https://www.redhat.com/mailman/listinfo/dm-devel




More information about the dm-devel mailing list