From: Mike Snitzer <snitzer@redhat.com>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: dm-devel@redhat.com, linux-block@vger.kernel.org,
Alasdair G Kergon <agk@redhat.com>,
Ahmad Fatoum <a.fatoum@pengutronix.de>,
Colin Ian King <colin.king@canonical.com>,
Geert Uytterhoeven <geert+renesas@glider.be>,
Jeffle Xu <jefflexu@linux.alibaba.com>,
Jinoh Kang <jinoh.kang.kr@gmail.com>,
Mike Snitzer <snitzer@redhat.com>,
Mikulas Patocka <mpatocka@redhat.com>,
Nikos Tsironis <ntsironis@arrikto.com>,
Satya Tangirala <satyat@google.com>,
Tian Tao <tiantao6@hisilicon.com>, Tom Rix <trix@redhat.com>
Subject: [git pull] device mapper changes for 5.12
Date: Wed, 17 Feb 2021 20:53:37 -0500 [thread overview]
Message-ID: <20210218015337.GA19999@redhat.com> (raw)
Hi Linus,
These DM changes happen to be based on linux-block from a few weeks ago
(but an expected DM dependency on block turned out to not be needed).
And the few block/keyslot-manager changes are accompanied by Jens'
Acked-by.
The following changes since commit 8358c28a5d44bf0223a55a2334086c3707bb4185:
block: fix memory leak of bvec (2021-02-02 08:57:56 -0700)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm.git tags/for-5.12/dm-changes
for you to fetch changes up to a666e5c05e7c4aaabb2c5d58117b0946803d03d2:
dm: fix deadlock when swapping to encrypted device (2021-02-11 09:45:28 -0500)
Please pull, thanks.
Mike
----------------------------------------------------------------
- Fix DM integrity's HMAC support to provide enhanced security of
internal_hash and journal_mac capabilities.
- Various DM writecache fixes to address performance, fix table output
to match what was provided at table creation, fix writing beyond end
of device when shrinking underlying data device, and a couple other
small cleanups.
- Add DM crypt support for using trusted keys.
- Fix deadlock when swapping to DM crypt device by throttling number
of in-flight REQ_SWAP bios. Implemented in DM core so that other
bio-based targets can opt-in by setting ti->limit_swap_bios.
- Fix various inverted logic bugs in the .iterate_devices callout
functions that are used to assess if specific feature or capability
is supported across all devices being combined/stacked by DM.
- Fix DM era target bugs that exposed users to lost writes or memory
leaks.
- Add DM core support for passing through inline crypto support of
underlying devices. Includes block/keyslot-manager changes that
enable extending this support to DM.
- Various small fixes and cleanups (spelling fixes, front padding
calculation cleanup, cleanup conditional zoned support in targets,
etc).
----------------------------------------------------------------
Ahmad Fatoum (2):
dm crypt: replaced #if defined with IS_ENABLED
dm crypt: support using trusted keys
Colin Ian King (1):
dm integrity: fix spelling mistake "flusing" -> "flushing"
Geert Uytterhoeven (1):
dm crypt: Spelling s/cihper/cipher/
Jeffle Xu (5):
dm: cleanup of front padding calculation
dm table: fix iterate_devices based device capability checks
dm table: fix DAX iterate_devices based device capability checks
dm table: fix zoned iterate_devices based device capability checks
dm table: remove needless request_queue NULL pointer checks
Jinoh Kang (1):
dm persistent data: fix return type of shadow_root()
Mike Snitzer (2):
dm writecache: use bdev_nr_sectors() instead of open-coded equivalent
dm: simplify target code conditional on CONFIG_BLK_DEV_ZONED
Mikulas Patocka (5):
dm integrity: introduce the "fix_hmac" argument
dm writecache: fix performance degradation in ssd mode
dm writecache: return the exact table values that were set
dm writecache: fix writing beyond end of underlying device when shrinking
dm: fix deadlock when swapping to encrypted device
Nikos Tsironis (7):
dm era: Recover committed writeset after crash
dm era: Update in-core bitset after committing the metadata
dm era: Reinitialize bitset cache before digesting a new writeset
dm era: Verify the data block size hasn't changed
dm era: Fix bitset memory leaks
dm era: Use correct value size in equality function of writeset tree
dm era: only resize metadata in preresume
Satya Tangirala (5):
block/keyslot-manager: Introduce passthrough keyslot manager
block/keyslot-manager: Introduce functions for device mapper support
dm: add support for passing through inline crypto support
dm: support key eviction from keyslot managers of underlying devices
dm: set DM_TARGET_PASSES_CRYPTO feature for some targets
Tian Tao (1):
dm writecache: fix unnecessary NULL check warnings
Tom Rix (1):
dm dust: remove h from printk format specifier
.../admin-guide/device-mapper/dm-crypt.rst | 2 +-
.../admin-guide/device-mapper/dm-integrity.rst | 11 +
block/blk-crypto.c | 1 +
block/keyslot-manager.c | 146 ++++++++
drivers/md/Kconfig | 1 +
drivers/md/dm-core.h | 9 +
drivers/md/dm-crypt.c | 39 +-
drivers/md/dm-dust.c | 2 +-
drivers/md/dm-era-target.c | 93 +++--
drivers/md/dm-flakey.c | 6 +-
drivers/md/dm-integrity.c | 140 +++++++-
drivers/md/dm-linear.c | 8 +-
drivers/md/dm-table.c | 399 +++++++++++++++------
drivers/md/dm-writecache.c | 80 +++--
drivers/md/dm.c | 96 ++++-
drivers/md/dm.h | 2 +-
drivers/md/persistent-data/dm-btree-internal.h | 2 +-
drivers/md/persistent-data/dm-btree-spine.c | 2 +-
include/linux/device-mapper.h | 32 +-
include/linux/keyslot-manager.h | 11 +
include/uapi/linux/dm-ioctl.h | 4 +-
21 files changed, 868 insertions(+), 218 deletions(-)
next reply other threads:[~2021-02-18 1:55 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-02-18 1:53 Mike Snitzer [this message]
2021-02-22 18:36 ` [git pull] device mapper changes for 5.12 pr-tracker-bot
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=20210218015337.GA19999@redhat.com \
--to=snitzer@redhat.com \
--cc=a.fatoum@pengutronix.de \
--cc=agk@redhat.com \
--cc=colin.king@canonical.com \
--cc=dm-devel@redhat.com \
--cc=geert+renesas@glider.be \
--cc=jefflexu@linux.alibaba.com \
--cc=jinoh.kang.kr@gmail.com \
--cc=linux-block@vger.kernel.org \
--cc=mpatocka@redhat.com \
--cc=ntsironis@arrikto.com \
--cc=satyat@google.com \
--cc=tiantao6@hisilicon.com \
--cc=torvalds@linux-foundation.org \
--cc=trix@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).