Mikulas Patocka ee18026ac6 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>
2012-12-21 20:23:41 +00:00
..
2012-03-28 18:41:29 +01:00
2012-12-21 20:23:39 +00:00
2012-12-21 20:23:36 +00:00
2012-12-21 20:23:37 +00:00
2012-07-30 17:25:16 -07:00
2012-12-21 20:23:40 +00:00
2012-12-21 20:23:41 +00:00
2012-12-21 20:23:38 +00:00
2012-12-21 20:23:40 +00:00
2012-12-21 20:23:38 +00:00
2010-08-12 04:14:12 +01:00
2012-12-21 20:23:38 +00:00
2012-10-22 10:44:55 +11:00
2012-10-11 13:08:44 +11:00
2012-10-11 13:25:44 +11:00
2012-10-11 13:49:05 +11:00