diff options
author | 2022-04-22 16:45:06 -0600 | |
---|---|---|
committer | 2022-05-16 13:37:59 -0700 | |
commit | 047218ec904da19c45c4a70274fc3f818a1fcba1 (patch) | |
tree | 6602586a5cbfa59b34a6699c920a0d4e7ad7dac8 /arch | |
parent | dax: introduce DAX_RECOVERY_WRITE dax access mode (diff) | |
download | linux-047218ec904da19c45c4a70274fc3f818a1fcba1.tar.gz linux-047218ec904da19c45c4a70274fc3f818a1fcba1.tar.bz2 linux-047218ec904da19c45c4a70274fc3f818a1fcba1.zip |
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 'arch')
0 files changed, 0 insertions, 0 deletions