Skip to content

Fix DM DAX handling

Ross Zwisler stable 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest5 patches 2 repliesIn review
  2. v15 patches 1 replySuperseded

Changes in v2 from the cover letter

* Fixed formatting of my "commit X upstream." lines to include the full hash to match other existing backports in stable.

* Fixed a few of the commit IDs which were from a dev branch and not the actual upstream commit ID.

* Pulled in updated tags and changlog wording differences from upstream commits vs commits in my dev branch.

Patches in v2 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+55 -270 replies
2/5dax: change bdev_dax_supported() to support boolean returnsdrivers/dax/super.c fs/ext2/super.c fs/ext4/super.c +3 more+22 -240 replies
3/5pmem: only set QUEUE_FLAG_DAX for fsdax modedrivers/nvdimm/pmem.c+2 -11 reply
4/5dax: check for QUEUE_FLAG_DAX in bdev_dax_supported()drivers/dax/super.c+8 -00 replies
5/5dm: prevent DAX mounts if not supporteddrivers/md/dm-table.c drivers/md/dm.c+5 -50 replies

Reviews trailers per patch

All 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/5A-b R-b
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 v2 thread

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

This is a v4.17-stable backport of my "Fix DM DAX handling" series which had backport collisions.

Greg, please let me know if I need to adjust anything in my backport formatting.

---

Changes since v1:
* Fixed formatting of my "commit X upstream." lines to include the full hash to match other existing backports in stable.

* Fixed a few of the commit IDs which were from a dev branch and not the actual upstream commit ID.

* Pulled in updated tags and changlog wording differences from upstream commits vs commits in my dev branch.

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

Ross Zwisler (3):
pmem: only set QUEUE_FLAG_DAX for fsdax mode
dax: check for QUEUE_FLAG_DAX in bdev_dax_supported()
dm: prevent DAX mounts if not supported

 drivers/dax/super.c   | 48 ++++++++++++++++++++++++++++--------------------
 drivers/md/dm-table.c |  7 ++++---
 drivers/md/dm.c       |  3 +--
 drivers/nvdimm/pmem.c |  3 ++-
 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 ++++++-----
 10 files changed, 78 insertions(+), 43 deletions(-)
Signature · 1 line
2.14.4