diff options
author | Dan Williams <dan.j.williams@intel.com> | 2016-01-04 23:50:23 -0800 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2016-01-09 08:39:04 -0800 |
commit | b95f5f4391fad65f1819c2404080b05ca95bdd92 (patch) | |
tree | 677c1af2ab624785340dc655b3414a21dc51a930 /drivers/dma | |
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>
Diffstat (limited to 'drivers/dma')
0 files changed, 0 insertions, 0 deletions