From: Greg KH <gregkh@linuxfoundation.org>
To: Mike Snitzer <snitzer@kernel.org>
Cc: Guenter Roeck <linux@roeck-us.net>,
keescook@chromium.org, sarthakkukreti@google.com,
stable@vger.kernel.org, Oleksandr Tymoshenko <ovt@google.com>,
dm-devel@redhat.com, regressions@lists.linux.dev
Subject: Re: [5.4.y PATCH v2] dm: remove special-casing of bio-based immutable singleton target on NVMe
Date: Thu, 23 Jun 2022 17:48:04 +0200 [thread overview]
Message-ID: <YrSLNE35zJELb1Jf@kroah.com> (raw)
In-Reply-To: <YrHzOGO5fOSFwqdJ@redhat.com>
On Tue, Jun 21, 2022 at 12:35:04PM -0400, Mike Snitzer wrote:
> Commit 9c37de297f6590937f95a28bec1b7ac68a38618f upstream.
>
> There is no benefit to DM special-casing NVMe. Remove all code used to
> establish DM_TYPE_NVME_BIO_BASED.
>
> Also, remove 3 'struct mapped_device *md' variables in __map_bio() which
> masked the same variable that is available within __map_bio()'s scope.
>
> Tested-by: Guenter Roeck <linux@roeck-us.net>
> Signed-off-by: Mike Snitzer <snitzer@kernel.org>
> ---
> drivers/md/dm-table.c | 32 +--------------
> drivers/md/dm.c | 73 ++++-------------------------------
> include/linux/device-mapper.h | 1 -
> 3 files changed, 9 insertions(+), 97 deletions(-)
Now queued up, thanks.
greg k-h
next prev parent reply other threads:[~2022-06-23 15:48 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20220603173816.944766454@linuxfoundation.org>
2022-06-10 4:22 ` [PATCH 5.4 26/34] dm verity: set DM_TARGET_IMMUTABLE feature flag Oleksandr Tymoshenko
2022-06-10 5:15 ` Greg KH
2022-06-10 8:10 ` Oleksandr Tymoshenko
2022-06-10 15:11 ` Mike Snitzer
2022-06-13 9:13 ` Greg KH
2022-06-15 14:36 ` Guenter Roeck
2022-06-15 15:29 ` Mike Snitzer
2022-06-15 17:50 ` Guenter Roeck
2022-06-15 20:02 ` Mike Snitzer
2022-06-15 20:40 ` Guenter Roeck
2022-06-15 23:59 ` Guenter Roeck
2022-06-16 23:22 ` Guenter Roeck
2022-06-20 11:44 ` Greg KH
2022-06-21 16:35 ` [5.4.y PATCH v2] dm: remove special-casing of bio-based immutable singleton target on NVMe Mike Snitzer
2022-06-23 15:48 ` Greg KH [this message]
2022-06-23 16:00 ` Patch "dm: remove special-casing of bio-based immutable singleton target on NVMe" has been added to the 5.4-stable tree gregkh
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=YrSLNE35zJELb1Jf@kroah.com \
--to=gregkh@linuxfoundation.org \
--cc=dm-devel@redhat.com \
--cc=keescook@chromium.org \
--cc=linux@roeck-us.net \
--cc=ovt@google.com \
--cc=regressions@lists.linux.dev \
--cc=sarthakkukreti@google.com \
--cc=snitzer@kernel.org \
--cc=stable@vger.kernel.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox