linux-block.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
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>,
	Benjamin Block <bblock@linux.ibm.com>,
	Bhaskar Chowdhury <unixbhaskar@gmail.com>,
	Christoph Hellwig <hch@lst.de>,
	"Gustavo A. R. Silva" <gustavoars@kernel.org>,
	Heinz Mauelshagen <heinzm@redhat.com>,
	JeongHyeon Lee <jhs2.lee@samsung.com>,
	Jiapeng Chong <jiapeng.chong@linux.alibaba.com>,
	Joe Thornber <ejt@redhat.com>,
	Julia Lawall <julia.lawall@inria.fr>,
	Matthew Ruffell <matthew.ruffell@canonical.com>,
	Matthew Wilcox <willy@infradead.org>,
	Mikulas Patocka <mpatocka@redhat.com>,
	Tian Tao <tiantao6@hisilicon.com>, Xu Wang <vulab@iscas.ac.cn>
Subject: [git pull] device mapper changes for 5.13
Date: Fri, 30 Apr 2021 15:32:38 -0400	[thread overview]
Message-ID: <20210430193237.GA7659@redhat.com> (raw)

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(-)


             reply	other threads:[~2021-04-30 19:32 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-30 19:32 Mike Snitzer [this message]
2021-05-01 18:38 ` [dm-devel] [git pull] device mapper changes for 5.13 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=20210430193237.GA7659@redhat.com \
    --to=snitzer@redhat.com \
    --cc=agk@redhat.com \
    --cc=bblock@linux.ibm.com \
    --cc=dm-devel@redhat.com \
    --cc=ejt@redhat.com \
    --cc=gustavoars@kernel.org \
    --cc=hch@lst.de \
    --cc=heinzm@redhat.com \
    --cc=jhs2.lee@samsung.com \
    --cc=jiapeng.chong@linux.alibaba.com \
    --cc=julia.lawall@inria.fr \
    --cc=linux-block@vger.kernel.org \
    --cc=matthew.ruffell@canonical.com \
    --cc=mpatocka@redhat.com \
    --cc=tiantao6@hisilicon.com \
    --cc=torvalds@linux-foundation.org \
    --cc=unixbhaskar@gmail.com \
    --cc=vulab@iscas.ac.cn \
    --cc=willy@infradead.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;
as well as URLs for NNTP newsgroup(s).