diff options
| author | Dan Williams <[email protected]> | 2016-01-05 07:50:23 +0000 |
|---|---|---|
| committer | Dan Williams <[email protected]> | 2016-01-09 16:39:04 +0000 |
| commit | b95f5f4391fad65f1819c2404080b05ca95bdd92 (patch) | |
| tree | 677c1af2ab624785340dc655b3414a21dc51a930 /lib/dma-debug.c | |
| parent | libnvdimm: don't fail init for full badblocks list (diff) | |
| download | kernel-b95f5f4391fad65f1819c2404080b05ca95bdd92.tar.gz kernel-b95f5f4391fad65f1819c2404080b05ca95bdd92.zip | |
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 <[email protected]>
Signed-off-by: Dan Williams <[email protected]>
Diffstat (limited to 'lib/dma-debug.c')
0 files changed, 0 insertions, 0 deletions
