Mike Snitzer 23508a96cd dm: add WRITE SAME support
WRITE SAME bios have a payload that contain a single page.  When
cloning WRITE SAME bios DM has no need to modify the bi_io_vec
attributes (and doing so would be detrimental).  DM need only alter the
start and end of the WRITE SAME bio accordingly.

Rather than duplicate __clone_and_map_discard, factor out a common
function that is also used by __clone_and_map_write_same.

Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
2012-12-21 20:23:37 +00:00
..
2012-03-28 18:41:29 +01:00
2012-09-09 10:35:38 +02:00
2012-12-21 20:23:36 +00:00
2012-07-30 17:25:16 -07:00
2012-12-21 20:23:32 +00:00
2012-12-21 20:23:33 +00:00
2012-12-21 20:23:36 +00:00
2012-12-21 20:23:34 +00:00
2010-08-12 04:14:12 +01:00
2012-12-21 20:23:37 +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