[dm-devel] [PATCH v3 0/4] Support DAX for device-mapper linear devices

Mike Snitzer snitzer at redhat.com
Thu Jun 23 21:05:49 UTC 2016


Jens, please pick up the first 2 block patches and I'll get the other
2 DM patches staged for 4.8.

v3:
 - fixed "warning: context imbalance in 'dm_blk_direct_access' -
   different lock contexts for basic block" due to missing
   dm_put_live_table in dm_blk_direct_access's dm_get_live_table error
   path
 - refactored dm-table.c code to centralize checking if all devices in
   a DM table support DAX (removed need for target to set
   ->dax_supported)
 - included Yigal Korman's patch to add 'dax' sysfs attribute

Toshi Kani (3):
  block: add QUEUE_FLAG_DAX for devices to advertise their DAX support
  dm: add infrastructure for DAX support
  dm linear: add DAX support

Yigal Korman (1):
  block: expose QUEUE_FLAG_DAX in sysfs

 block/blk-sysfs.c             | 11 +++++++++++
 drivers/block/brd.c           |  4 +++-
 drivers/md/dm-linear.c        | 21 ++++++++++++++++++++-
 drivers/md/dm-table.c         | 44 ++++++++++++++++++++++++++++++++++++++++++-
 drivers/md/dm.c               | 38 +++++++++++++++++++++++++++++++++++--
 drivers/md/dm.h               |  1 +
 drivers/nvdimm/pmem.c         |  1 +
 drivers/s390/block/dcssblk.c  |  1 +
 fs/block_dev.c                |  5 +++--
 include/linux/blkdev.h        |  2 ++
 include/linux/device-mapper.h | 10 ++++++++++
 include/uapi/linux/dm-ioctl.h |  4 ++--
 12 files changed, 133 insertions(+), 9 deletions(-)

-- 
2.7.4 (Apple Git-66)




More information about the dm-devel mailing list