From: Mike Snitzer <snitzer@redhat.com>
To: Heinz Mauelshagen <heinzm@redhat.com>
Cc: dm-devel@redhat.com
Subject: Re: dm raid: avoid busy error on scrubbing message
Date: Tue, 18 Dec 2018 14:50:20 -0500 [thread overview]
Message-ID: <20181218195020.GC24676@redhat.com> (raw)
In-Reply-To: <94d065d1aa09b9151280a0fd34502ac335e1ac3e.1545150818.git.heinzm@redhat.com>
On Tue, Dec 18 2018 at 11:35am -0500,
Heinz Mauelshagen <heinzm@redhat.com> wrote:
> Sending a check/repair message infrequently leads to -EBUSY
> as oposed to identifying an active resync properly.
> Cause is raid_message() testing recovery bits in a racy way.
>
> Fix by calling decipher_sync_action() from raid_message()
> to identify the idle state of the RAID device properly.
>
> Signed-off-by: Heinz Mauelshagen <heinzm@redhat.com>
Applied:
https://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm.git/commit/?h=dm-4.21&id=74694bcbdf7e28a5ad548cdda9ac56d30be00d13
Thanks,
Mike
prev parent reply other threads:[~2018-12-18 19:50 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-12-18 16:35 [PATCH] dm raid: avoid busy error on scrubbing message Heinz Mauelshagen
2018-12-18 19:50 ` Mike Snitzer [this message]
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=20181218195020.GC24676@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.