summaryrefslogtreecommitdiffstats
path: root/drivers/md/dm-linear.c
diff options
context:
space:
mode:
authorMikulas Patocka <mpatocka@redhat.com>2012-12-21 20:23:41 +0000
committerAlasdair G Kergon <agk@redhat.com>2012-12-21 20:23:41 +0000
commitee18026ac69efba804144541171299efd41747d2 (patch)
tree8e6e9e85114a6b6568b8325aca750428150d4b95 /drivers/md/dm-linear.c
parent59c3d2c6a12ff580b2c19c3925af4f4552639f8a (diff)
downloadop-kernel-dev-ee18026ac69efba804144541171299efd41747d2.zip
op-kernel-dev-ee18026ac69efba804144541171299efd41747d2.tar.gz
dm snapshot: do not use map_context
Eliminate struct map_info from dm-snap. map_info->ptr was used in dm-snap to indicate if the bio was tracked. If map_info->ptr was non-NULL, the bio was linked in tracked_chunk_hash. This patch removes the use of map_info->ptr. We determine if the bio was tracked based on hlist_unhashed(&c->node). If hlist_unhashed is true, the bio is not tracked, if it is false, the bio is tracked. Signed-off-by: Mikulas Patocka <mpatocka@redhat.com> Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Diffstat (limited to 'drivers/md/dm-linear.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud