diff options
author | Keith Busch <[email protected]> | 2024-10-23 08:40:26 -0700 |
---|---|---|
committer | Keith Busch <[email protected]> | 2024-10-30 07:19:18 -0700 |
commit | 42ab37eaad17aee458489c553a367621ee04e0bc (patch) | |
tree | 66fd1c88d1562b8855ab1c3a3c5b49309ab34973 /tools/perf/scripts/python/sched-migration.py | |
parent | f54f0d0e2b1f74de85ff02013fa4886e4154aca5 (diff) |
nvme: module parameter to disable pi with offsets
A recent commit enables integrity checks for formats the previous kernel
versions registered with the "nop" integrity profile. This means
namespaces using that format become unreadable when upgrading the kernel
past that commit.
Introduce a module parameter to restore the "nop" integrity profile so
that storage can be readable once again. This could be a boot device, so
the setting needs to happen at module load time.
Fixes: 921e81db524d17 ("nvme: allow integrity when PI is not in first bytes")
Reported-by: David Wei <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Reviewed-by: Kanchan Joshi <[email protected]>
Reviewed-by: Chaitanya Kulkarni <[email protected]>
Signed-off-by: Keith Busch <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions