diff options
author | Vishal Verma <[email protected]> | 2017-12-18 09:28:39 -0700 |
---|---|---|
committer | Dan Williams <[email protected]> | 2017-12-21 14:59:27 -0800 |
commit | 24e3a7fb60a9187e5df90e5fa655ffc94b9c4f77 (patch) | |
tree | eac112b892e6a56fc4217ba20b5b30af1b4ea504 /lib/test-string_helpers.c | |
parent | 13b7954c0b8dd2d6382b4ddb5053f09e389d5c6e (diff) |
libnvdimm, btt: Fix an incompatibility in the log layout
Due to a spec misinterpretation, the Linux implementation of the BTT log
area had different padding scheme from other implementations, such as
UEFI and NVML.
This fixes the padding scheme, and defaults to it for new BTT layouts.
We attempt to detect the padding scheme in use when probing for an
existing BTT. If we detect the older/incompatible scheme, we continue
using it.
Reported-by: Juston Li <[email protected]>
Cc: Dan Williams <[email protected]>
Cc: <[email protected]>
Fixes: 5212e11fde4d ("nd_btt: atomic sector updates")
Signed-off-by: Vishal Verma <[email protected]>
Signed-off-by: Dan Williams <[email protected]>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions