device mapper changes for 5.13
Subsystems (2)
Hi Linus,
Some changes were slightly late and their inclusion made later because I had a worse-than-expected reaction to my 2nd covid shot the past couple days. Nothing crazy here but wanted to explain why some commits are recent.
The following changes since commit 4edbe1d7bcffcd6269f3b5eb63f710393ff2ec7a:
dm ioctl: fix out of bounds array access when no devices (2021-03-26 14:51:50 -0400)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm.git tags/for-5.13/dm-changes
for you to fetch changes up to ca4a4e9a55beeb138bb06e3867f5e486da896d44:
dm raid: remove unnecessary discard limits for raid0 and raid10 (2021-04-30 14:38:37 -0400)
Please pull, thanks.
Mike
----------------------------------------------------------------
- Improve scalability of DM's device hash by switching to rbtree
- Extend DM ioctl's DM_LIST_DEVICES_CMD handling to include UUID and allow filtering based on name or UUID prefix.
- Various small fixes for typos, warnings, unused function, or needlessly exported interfaces.
- Remove needless request_queue NULL pointer checks in DM thin and cache targets.
- Remove unnecessary loop in DM core's __split_and_process_bio().
- Remove DM core's dm_vcalloc() and just use kvcalloc or kvmalloc_array instead (depending whether zeroing is useful).
- Fix request-based DM's double free of blk_mq_tag_set in device remove after table load fails.
- Improve DM persistent data performance on non-x86 by fixing packed structs to have a stated alignment. Also remove needless extra work from redundant calls to sm_disk_get_nr_free() and a paranoid BUG_ON() that caused duplicate checksum calculation.
- Fix missing goto in DM integrity's bitmap_flush_interval error handling.
- Add "reset_recalculate" feature flag to DM integrity.
- Improve DM integrity by leveraging discard support to avoid needless re-writing of metadata and also use discard support to improve hash recalculation.
- Fix race with DM raid target's reshape and MD raid4/5/6 resync that resulted in inconsistant reshape state during table reloads.
- Update DM raid target to temove unnecessary discard limits for raid0 and raid10 now that MD has optimized discard handling for both raid levels.
----------------------------------------------------------------
Benjamin Block (1):
dm rq: fix double free of blk_mq_tag_set in dev remove after table load fails
Bhaskar Chowdhury (1):
dm ebs: fix a few typos
Christoph Hellwig (1):
dm: unexport dm_{get,put}_table_device
Gustavo A. R. Silva (1):
dm raid: fix fall-through warning in rs_check_takeover() for Clang
Heinz Mauelshagen (1):
dm raid: fix inconclusive reshape layout on fast raid4/5/6 table reload sequences
JeongHyeon Lee (1):
dm verity: allow only one error handling mode
Jiapeng Chong (2):
dm persistent data: remove unused return from exit_shadow_spine() dm clone metadata: remove unused function
Joe Thornber (4):
dm space map disk: remove redundant calls to sm_disk_get_nr_free() dm btree spine: remove paranoid node_check call in node_prep_for_write() dm persistent data: packed struct should have an aligned() attribute too dm space map common: fix division bug in sm_ll_find_free_block()
Julia Lawall (1):
dm writecache: fix flexible_array.cocci warnings
Matthew Wilcox (Oracle) (1):
dm: replace dm_vcalloc()
Mike Snitzer (1):
dm raid: remove unnecessary discard limits for raid0 and raid10
Mikulas Patocka (8):
dm: remove useless loop in __split_and_process_bio
dm ioctl: replace device hash with red-black tree
dm ioctl: return UUID in DM_LIST_DEVICES_CMD result
dm ioctl: filter the returned values according to name or uuid prefix dm integrity: add the "reset_recalculate" feature flag
dm integrity: don't re-write metadata if discarding same blocks dm integrity: increase RECALC_SECTORS to improve recalculate speed dm integrity: use discard support when recalculating
Tian Tao (1):
dm integrity: fix missing goto in bitmap_flush_interval error handling
Xu Wang (2):
dm thin: remove needless request_queue NULL pointer check dm cache: remove needless request_queue NULL pointer checks
drivers/md/dm-cache-target.c | 2 +- drivers/md/dm-clone-metadata.c | 6 - drivers/md/dm-ebs-target.c | 6 +- drivers/md/dm-integrity.c | 85 ++++--- drivers/md/dm-ioctl.c | 294 ++++++++++++++--------- drivers/md/dm-raid.c | 44 ++-- drivers/md/dm-rq.c | 2 + drivers/md/dm-snap-persistent.c | 6 +- drivers/md/dm-snap.c | 5 +- drivers/md/dm-table.c | 30 +-- drivers/md/dm-thin.c | 2 +- drivers/md/dm-verity-target.c | 40 ++- drivers/md/dm-writecache.c | 2 +- drivers/md/dm.c | 63 +++-- drivers/md/persistent-data/dm-btree-internal.h | 6 +- drivers/md/persistent-data/dm-btree-spine.c | 8 +- drivers/md/persistent-data/dm-space-map-common.c | 2 + drivers/md/persistent-data/dm-space-map-common.h | 8 +- drivers/md/persistent-data/dm-space-map-disk.c | 9 - include/linux/device-mapper.h | 5 - include/uapi/linux/dm-ioctl.h | 18 +- 21 files changed, 372 insertions(+), 271 deletions(-)
The pull request you sent on Fri, 30 Apr 2021 15:32:38 -0400:
The pull request you sent on Fri, 30 Apr 2021 15:32:38 -0400:
Quoted 1 line
git://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm.gittags/for-5.13/dm-changes
has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/7af81cd0c4306482b49a3adce0fb2f8655f57d0f
Thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/prtracker.html