commit | b95f5f4391fad65f1819c2404080b05ca95bdd92 | [log] [tgz] |
---|---|---|
author | Dan Williams <dan.j.williams@intel.com> | Mon Jan 04 23:50:23 2016 -0800 |
committer | Dan Williams <dan.j.williams@intel.com> | Sat Jan 09 08:39:04 2016 -0800 |
tree | 677c1af2ab624785340dc655b3414a21dc51a930 | |
parent | 87ba05dff3510f9e058b35d3c3fa222b6f406ecc [diff] |
libnvdimm: convert to statically allocated badblocks If a device will ever have badblocks it should always have a badblocks instance available. So, similar to md, embed a badblocks instance in pmem_device. This reduces pointer chasing in the i/o fast path, and simplifies the init path. Reported-by: Vishal Verma <vishal.l.verma@intel.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com>