Joe Thornber eb2aa48d4e dm thin: prepare to support discard
This patch contains the ground work needed for dm-thin to support discard.

  - Adds endio function that replaces shared_read_endio.

  - Introduce an explicit 'quiesced' flag into the new_mapping structure.
    Before, this was implicitly indicated by m->list being empty.

  - The map_info->ptr remains constant for the duration of a bio's trip
    through the thin target.  Make it easier to reason about it.

Signed-off-by: Joe Thornber <ejt@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
2012-03-28 18:41:28 +01:00
..
2012-03-22 12:29:50 -07:00
2011-10-31 20:19:09 +00:00
2012-03-07 19:09:37 +00:00
2012-03-28 18:41:28 +01:00
2012-03-28 18:41:25 +01:00
2011-10-31 20:19:04 +00:00
2012-03-19 12:46:39 +11:00
2012-03-28 18:41:24 +01:00
2011-10-31 20:21:18 +00:00
2012-03-19 12:46:39 +11:00
2012-03-19 12:46:39 +11:00