[dm-devel] [git pull] device mapper changes for 4.20

Mike Snitzer snitzer at redhat.com
Fri Oct 26 15:28:14 UTC 2018


Hi Linus,

Welcome back!

The following changes since commit 118aa47c7072bce05fc39bd40a1c0a90caed72ab:

  dm linear: fix linear_end_io conditional definition (2018-10-10 23:22:24 -0400)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm.git tags/for-4.20/dm-changes

for you to fetch changes up to da4ad3a23af3d7f357b24b33e9fec7531b59ee49:

  dm writecache: remove disabled code in memory_entry() (2018-10-22 10:59:52 -0400)

Please pull, thanks.
Mike

----------------------------------------------------------------
- Biggest change this cycle is to remove support for the legacy IO path
  (.request_fn) from request-based DM.  Jens has already started
  preparing for complete removal of the legacy IO path in 4.21 but this
  earlier removal of support from DM has been coordinated with Jens (as
  evidenced by the commit being attributed to him).  Making
  request-based DM exclussively blk-mq only cleans up that portion of DM
  core quite nicely.

- Convert the thinp and zoned targets over to using refcount_t where
  applicable.

- A couple fixes to the DM zoned target for refcounting and other races
  buried in the implementation of metadata block creation and use.

- Small cleanups to remove redundant unlikely() around a couple
  WARN_ON_ONCE().

- Simplify how dm-ioctl copies from userspace, eliminating some
  potential for a malicious user trying to change the executed ioctl
  after its processing has begun.

- Tweaked DM crypt target to use the DM device name when naming the
  various workqueues created for a particular DM crypt device (makes the
  N workqueues for a DM crypt device more easily understood and enhances
  user's accounting capabilities at a glance via "ps")

- Small fixup to remove dead branch in DM writecache's memory_entry().

----------------------------------------------------------------
Damien Le Moal (2):
      dm zoned: fix metadata block ref counting
      dm zoned: fix various dmz_get_mblock() issues

Heinz Mauelshagen (1):
      dm raid: avoid bitmap with raid4/5/6 journal device

Igor Stoppa (1):
      dm: remove unnecessary unlikely() around WARN_ON_ONCE()

Jens Axboe (1):
      dm: remove legacy request-based IO path

John Pittman (2):
      dm thin: use refcount_t for thin_c reference counting
      dm zoned: target: use refcount_t for dm zoned reference counters

Michał Mirosław (2):
      dm: add dm_table_device_name()
      dm crypt: make workqueue names device-specific

Mike Snitzer (3):
      dm: rename DM_TYPE_MQ_REQUEST_BASED to DM_TYPE_REQUEST_BASED
      dm table: require that request-based DM be layered on blk-mq devices
      dm writecache: remove disabled code in memory_entry()

Wenwen Wang (1):
      dm ioctl: harden copy_params()'s copy_from_user() from malicious users

 drivers/md/Kconfig               |  11 --
 drivers/md/dm-cache-policy-smq.c |   2 +-
 drivers/md/dm-core.h             |  10 --
 drivers/md/dm-crypt.c            |  15 +-
 drivers/md/dm-ioctl.c            |  18 +--
 drivers/md/dm-mpath.c            |  26 +---
 drivers/md/dm-raid.c             |   2 +-
 drivers/md/dm-rq.c               | 316 ++++-----------------------------------
 drivers/md/dm-rq.h               |   4 -
 drivers/md/dm-sysfs.c            |   3 +-
 drivers/md/dm-table.c            |  46 ++----
 drivers/md/dm-thin.c             |   8 +-
 drivers/md/dm-writecache.c       |   5 +-
 drivers/md/dm-zoned-metadata.c   |  80 ++++++----
 drivers/md/dm-zoned-target.c     |  20 +--
 drivers/md/dm.c                  |  25 +---
 drivers/md/dm.h                  |   1 -
 include/linux/device-mapper.h    |   6 +-
 18 files changed, 134 insertions(+), 464 deletions(-)




More information about the dm-devel mailing list