diff options
author | Jane Chu <jane.chu@oracle.com> | 2022-04-23 01:45:06 +0300 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2022-05-16 23:37:59 +0300 |
commit | 047218ec904da19c45c4a70274fc3f818a1fcba1 (patch) | |
tree | 6602586a5cbfa59b34a6699c920a0d4e7ad7dac8 /drivers/nvdimm/claim.c | |
parent | e511c4a3d2a1f64aafc1f5df37a2ffcf7ef91b55 (diff) | |
download | linux-047218ec904da19c45c4a70274fc3f818a1fcba1.tar.xz |
dax: add .recovery_write dax_operation
Introduce dax_recovery_write() operation. The function is used to
recover a dax range that contains poison. Typical use case is when
a user process receives a SIGBUS with si_code BUS_MCEERR_AR
indicating poison(s) in a dax range, in response, the user process
issues a pwrite() to the page-aligned dax range, thus clears the
poison and puts valid data in the range.
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jane Chu <jane.chu@oracle.com>
Link: https://lore.kernel.org/r/20220422224508.440670-6-jane.chu@oracle.com
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/nvdimm/claim.c')
0 files changed, 0 insertions, 0 deletions