Skip to content

Fix DM DAX handling

Ross Zwisler stable 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5fs: allow per-device dax status checking for filesystemsdrivers/dax/super.c fs/ext2/super.c fs/ext4/super.c +4 more+53 -250 replies
2/5dax: change bdev_dax_supported() to support boolean returnsdrivers/dax/super.c fs/ext2/super.c fs/ext4/super.c +3 more+21 -230 replies
3/5dax: check for QUEUE_FLAG_DAX in bdev_dax_supported()drivers/dax/super.c+8 -00 replies
4/5dm: set QUEUE_FLAG_DAX accordingly in dm_table_set_restrictions()drivers/md/dm-table.c drivers/md/dm.c+2 -30 replies
5/5dm: prevent DAX mounts if not supporteddrivers/md/dm-table.c drivers/md/dm.c+5 -50 replies

Reviews trailers per patch

4 of 5 patches have a Reviewed-by or Acked-by.

PatchEric SandeenDarrick J. WongDan WilliamsToshi Kani
1/5R-b
2/5R-b
3/5A-b R-b
4/5
5/5A-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v1 thread

Cover letter [v4.14-stable 0/5] Fix DM DAX handling

This is a v4.14-stable backport of my "Fix DM DAX handling" series which had backport collisions. This series also includes a few patches that were backport dependencies.

Changes from the v4.17-stable version:
* DAX on raw mode namespace is allowed in this baseline, so we allow it for DM devices as well. This meant dropping the patch "pmem: only set QUEUE_FLAG_DAX for fsdax mode".

* Pulled in one additional patch from Mike as a backport dependency.

Darrick J. Wong (1):
fs: allow per-device dax status checking for filesystems

Dave Jiang (1):
dax: change bdev_dax_supported() to support boolean returns

Mike Snitzer (1):
dm: set QUEUE_FLAG_DAX accordingly in dm_table_set_restrictions()

Ross Zwisler (2):
dax: check for QUEUE_FLAG_DAX in bdev_dax_supported()
dm: prevent DAX mounts if not supported

 drivers/dax/super.c   | 42 +++++++++++++++++++++++++-----------------
 drivers/md/dm-table.c |  9 ++++++---
 drivers/md/dm.c       |  6 +-----
 fs/ext2/super.c       |  3 +--
 fs/ext4/super.c       |  3 +--
 fs/xfs/xfs_ioctl.c    |  3 ++-
 fs/xfs/xfs_iops.c     | 30 +++++++++++++++++++++++++-----
 fs/xfs/xfs_super.c    | 10 ++++++++--
 include/linux/dax.h   | 11 ++++++-----
 9 files changed, 75 insertions(+), 42 deletions(-)
Signature · 1 line
2.14.4