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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 2 Apr 2020 14:34:14 +0000 (16:34 +0200)
commit4ec34f2196d125ff781170ddc6c3058c08ec5e73
tree5ff3c3f7420df55ca19ee91bfc8927036fb999a0
parentf30c7bbc98f35a454acc8ed4e4ac0a096de2f1e8
dm bio record: save/restore bi_end_io and bi_integrity

[ Upstream commit 1b17159e52bb31f982f82a6278acd7fab1d3f67b ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/md/dm-bio-record.h