Skip to content

dax: add PROBE_PREFER_ASYNCHRONOUS to all the dax drivers

Michal Clapinski linux-cxl lkml nvdimm 2 versions In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest5 patches 8 repliesIn review
  2. v21 patch 1 replySuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5dax: add PROBE_PREFER_ASYNCHRONOUS to the pmem driverdrivers/dax/pmem.c+1 -00 replies
2/5dax: add PROBE_PREFER_ASYNCHRONOUS to the kmem driverdrivers/dax/kmem.c+3 -00 replies
3/5dax: add PROBE_PREFER_ASYNCHRONOUS to the cxl driverdrivers/dax/cxl.c+1 -00 replies
4/5dax: add PROBE_PREFER_ASYNCHRONOUS to the hmem driversdrivers/dax/hmem/hmem.c+2 -00 replies
5/5dax: add PROBE_PREFER_ASYNCHRONOUS to the dax device driverdrivers/dax/device.c+3 -03 replies

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchDan WilliamsDave Jiang
SeriesR-b
1/5R-b
2/5R-b
3/5R-b
4/5R-b
5/5R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/5] dax: add PROBE_PREFER_ASYNCHRONOUS to all the dax drivers

Comments in linux/device/driver.h say that the goal is to do async probing on all devices. The current behavior unnecessarily slows down the boot by synchronously probing dax devices, so let's change that.

For thousands of devices, this change saves >1s of boot time.

Michal Clapinski (5):
dax: add PROBE_PREFER_ASYNCHRONOUS to the pmem driver
dax: add PROBE_PREFER_ASYNCHRONOUS to the kmem driver
dax: add PROBE_PREFER_ASYNCHRONOUS to the cxl driver
dax: add PROBE_PREFER_ASYNCHRONOUS to the hmem drivers
dax: add PROBE_PREFER_ASYNCHRONOUS to the dax device driver

 drivers/dax/cxl.c       | 1 +
 drivers/dax/device.c    | 3 +++
 drivers/dax/hmem/hmem.c | 2 ++
 drivers/dax/kmem.c      | 3 +++
 drivers/dax/pmem.c      | 1 +
 5 files changed, 10 insertions(+)
Signature · 1 line
2.51.1.821.gb6fe4d2222-goog