Skip to content

dax: clear poison on the fly along pwrite

Jane Chu linux-fsdevel lkml nvdimm 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 19 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3dax: introduce dax_operation dax_clear_poisondrivers/dax/super.c include/linux/dax.h+19 -01 reply
2/3dax: introduce dax clear poison to page aligned dax pwrite operationfs/dax.c+9 -00 replies
2/3dax: introduce dax_clear_poison to dax pwrite operationfs/dax.c+9 -01 reply
3/3libnvdimm/pmem: Provide pmem_dax_clear_poison for dax operationdrivers/nvdimm/pmem.c+17 -02 replies

Reviews trailers per patch

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

PatchChristoph Hellwig
1/3R-b
2/3
2/3
3/3R-b

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

Read the v1 thread

Cover letter [PATCH 0/3] dax: clear poison on the fly along pwrite

If pwrite(2) encounters poison in a pmem range, it fails with EIO. This is unecessary if hardware is capable of clearing the poison.

Though not all dax backend hardware has the capability of clearing poison on the fly, but dax backed by Intel DCPMEM has such capability, and it's desirable to, first, speed up repairing by means of it; second, maintain backend continuity instead of fragmenting it in search for clean blocks.

Jane Chu (3):
dax: introduce dax_operation dax_clear_poison
dax: introduce dax_clear_poison to dax pwrite operation libnvdimm/pmem: Provide pmem_dax_clear_poison for dax operation

 drivers/dax/super.c   | 13 +++++++++++++
 drivers/nvdimm/pmem.c | 17 +++++++++++++++++
 fs/dax.c              |  9 +++++++++
 include/linux/dax.h   |  6 ++++++
 4 files changed, 45 insertions(+)
Signature · 1 line
2.18.4