From: Mike Snitzer <snitzer@redhat.com>
To: heinzm@redhat.com
Cc: dm-devel@redhat.com
Subject: Re: dm-raid: check for zero feature flags in metadata
Date: Fri, 29 Apr 2016 15:18:36 -0400 [thread overview]
Message-ID: <20160429191835.GA22007@redhat.com> (raw)
In-Reply-To: <1461949196-17999-1-git-send-email-heinzm@redhat.com>
On Fri, Apr 29 2016 at 12:59pm -0400,
heinzm@redhat.com <heinzm@redhat.com> wrote:
> From: Heinz Mauelshagen <heinzm@redhat.com>
>
> Because we don't support any feature flags in the dm-raid ondisk
> metadata yet (see struct dm_raid_superblock, 'features' member),
> this patch adds a check to ensure no flags are actually set or
> reject the activation of the RAID mapping.
>
> This is to prevent possible data corruption in case of a
> kernel downgrade when there'll potentially be feature flags
> set by a future dm-raid target.
>
>
> Signed-off-by: Heinz Mauelshagen <heinzm@redhat.com>
merged for 4.7, see:
https://git.kernel.org/cgit/linux/kernel/git/device-mapper/linux-dm.git/commit/?h=dm-4.7&id=480375cd7ea3eed60381539dbfa96851b6174820
next prev parent reply other threads:[~2016-04-29 19:18 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-29 16:59 [PATCH] dm-raid: check for zero feature flags in metadata heinzm
2016-04-29 19:18 ` Mike Snitzer [this message]
2016-04-29 19:23 ` Mike Snitzer
2016-04-30 0:31 ` [PATCH] " Alasdair G Kergon
2016-05-09 15:20 ` Heinz Mauelshagen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160429191835.GA22007@redhat.com \
--to=snitzer@redhat.com \
--cc=dm-devel@redhat.com \
--cc=heinzm@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.