dm bio record: save/restore bi_end_io and bi_integrity
authorMike Snitzer <snitzer@redhat.com>
Fri, 28 Feb 2020 23:00:53 +0000 (18:00 -0500)
committerMike Snitzer <snitzer@redhat.com>
Tue, 3 Mar 2020 15:02:46 +0000 (10:02 -0500)
commit1b17159e52bb31f982f82a6278acd7fab1d3f67b
tree008e8157c06bc492738d5fe8331983bca5a05ea1
parentee63634bae02e13c8c0df1209a6a0ca5326f3189
dm bio record: save/restore bi_end_io and bi_integrity

Also, save/restore __bi_remaining in case the bio was used in a
BIO_CHAIN (e.g. due to blk_queue_split).

Suggested-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/dm-bio-record.h