mbox series

[v4,0/1] dax: enable dax fault handler to report VM_FAULT_HWPOISON

Message ID 20230509054714.1746956-1-jane.chu@oracle.com (mailing list archive)
Headers show
Series dax: enable dax fault handler to report VM_FAULT_HWPOISON | expand

Message

Jane Chu May 9, 2023, 5:47 a.m. UTC
Change from v3:
Prevent leaking EHWPOISON to user level block IO calls such as
zero_range_range, and truncate.  Suggested by Dan.

Change from v2:
Convert EHWPOISON to EIO to prevent EHWPOISON errno from leaking
out to block read(2). Suggested by Matthew.

Jane Chu (1):
  dax: enable dax fault handler to report VM_FAULT_HWPOISON

 drivers/dax/super.c          |  5 ++++-
 drivers/nvdimm/pmem.c        |  2 +-
 drivers/s390/block/dcssblk.c |  3 ++-
 fs/dax.c                     | 11 ++++++-----
 fs/fuse/virtio_fs.c          |  3 ++-
 include/linux/dax.h          |  5 +++++
 include/linux/mm.h           |  2 ++
 7 files changed, 22 insertions(+), 9 deletions(-)