https://github.com/torvalds/linux
Revision 24e3a7fb60a9187e5df90e5fa655ffc94b9c4f77 authored by Vishal Verma on 18 December 2017, 16:28:39 UTC, committed by Dan Williams on 21 December 2017, 22:59:27 UTC
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 <juston.li@intel.com>
Cc: Dan Williams <dan.j.williams@intel.com>
Cc: <stable@vger.kernel.org>
Fixes: 5212e11fde4d ("nd_btt: atomic sector updates")
Signed-off-by: Vishal Verma <vishal.l.verma@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
1 parent 13b7954
History
Tip revision: 24e3a7fb60a9187e5df90e5fa655ffc94b9c4f77 authored by Vishal Verma on 18 December 2017, 16:28:39 UTC
libnvdimm, btt: Fix an incompatibility in the log layout
Tip revision: 24e3a7f
File Mode Size
kvm
lib
Makefile -rw-r--r-- 14 bytes

back to top