From: Mike Snitzer <snitzer@redhat.com>
To: Mikulas Patocka <mpatocka@redhat.com>
Cc: dm-devel@redhat.com, Marian Csontos <mcsontos@redhat.com>,
Zdenek Kabelac <zkabelac@redhat.com>
Subject: Re: [PATCH v2] dm-integrity: revert adc0daad366b to fix recalculation
Date: Thu, 23 Jul 2020 14:23:29 -0400 [thread overview]
Message-ID: <20200723182328.GA3753@redhat.com> (raw)
In-Reply-To: <alpine.LRH.2.02.2007231036570.17947@file01.intranet.prod.int.rdu2.redhat.com>
On Thu, Jul 23 2020 at 10:42am -0400,
Mikulas Patocka <mpatocka@redhat.com> wrote:
> In order to fix this race condition, we add a function dm_suspending that
> is only true during the postsuspend phase and use it instead of
> dm_suspended.
>
...
> Index: rhel8/drivers/md/dm.c
> ===================================================================
> --- rhel8.orig/drivers/md/dm.c
> +++ rhel8/drivers/md/dm.c
> @@ -140,6 +140,7 @@ EXPORT_SYMBOL_GPL(dm_bio_get_target_bio_
> #define DMF_NOFLUSH_SUSPENDING 5
> #define DMF_DEFERRED_REMOVE 6
> #define DMF_SUSPENDED_INTERNALLY 7
> +#define DMF_SUSPENDING 8
Think I prefer DMF_POST_SUSPENDING. If you're OK with that I can fix up
the code while I stage your commit.
Thanks,
Mike
next prev parent reply other threads:[~2020-07-23 18:23 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-22 18:46 [PATCH] dm-integrity: revert adc0daad366b to fix recalculation Mikulas Patocka
2020-07-22 19:45 ` Mike Snitzer
2020-07-22 20:02 ` Mikulas Patocka
2020-07-23 14:42 ` [PATCH v2] " Mikulas Patocka
2020-07-23 18:23 ` Mike Snitzer [this message]
2020-07-23 18:39 ` Mikulas Patocka
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=20200723182328.GA3753@redhat.com \
--to=snitzer@redhat.com \
--cc=dm-devel@redhat.com \
--cc=mcsontos@redhat.com \
--cc=mpatocka@redhat.com \
--cc=zkabelac@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.