summaryrefslogtreecommitdiff
path: root/fs/gfs2/glock.c
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2016-01-05 07:50:23 (GMT)
committerDan Williams <dan.j.williams@intel.com>2016-01-09 16:39:04 (GMT)
commitb95f5f4391fad65f1819c2404080b05ca95bdd92 (patch)
tree677c1af2ab624785340dc655b3414a21dc51a930 /fs/gfs2/glock.c
parent87ba05dff3510f9e058b35d3c3fa222b6f406ecc (diff)
downloadlinux-b95f5f4391fad65f1819c2404080b05ca95bdd92.tar.xz
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 'fs/gfs2/glock.c')
0 files changed, 0 insertions, 0 deletions