diff options
author | Dan Williams <[email protected]> | 2020-02-27 21:31:45 -0800 |
---|---|---|
committer | Dan Williams <[email protected]> | 2020-03-17 12:23:21 -0700 |
commit | b2ba7e91fa81bec9b64c47ab852145559cad2b68 (patch) | |
tree | 51d7c3caccd913e3bdd10a9179347e5dc4401eee /scripts/bpf_helpers_doc.py | |
parent | 9ffc1d19fc4a6dfcfe06c91c2861ad6d44fdd92d (diff) |
libnvdimm/pfn: Prevent raw mode fallback if pfn-infoblock valid
The EOPNOTSUPP return code from the pmem driver indicates that the
namespace has a configuration that may be valid, but the current kernel
does not support it. Expand this to all of the nd_pfn_validate() error
conditions after the infoblock has been verified as self consistent.
This prevents exposing the namespace to I/O when the infoblock needs to
be corrected, or the system needs to be put into a different
configuration (like changing the page size on PowerPC).
Cc: Aneesh Kumar K.V <[email protected]>
Cc: Jeff Moyer <[email protected]>
Reviewed-by: Aneesh Kumar K.V <[email protected]>
Signed-off-by: Dan Williams <[email protected]>
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions