summaryrefslogtreecommitdiff
path: root/lib/lz4
diff options
context:
space:
mode:
authorMike Snitzer <snitzer@redhat.com>2022-02-17 23:40:30 -0500
committerMike Snitzer <snitzer@redhat.com>2022-02-21 15:36:32 -0500
commite6fc9f62ce6e412acb1699a5373174aa42ca2bd3 (patch)
treec9764ff1c2908421d86f80dca564eeb218b249c4 /lib/lz4
parent300432f58b99449076f8a662504bb74cb452efcf (diff)
dm: flag clones created by __send_duplicate_bios
Formally disallow dm_accept_partial_bio() on clones created by __send_duplicate_bios() because their len_ptr points to a shared unsigned int. __send_duplicate_bios() is only used for flush bios and other "abnormal" bios (discards, writezeroes, etc). And dm_accept_partial_bio() already didn't support flush bios. Also refactor __send_changing_extent_only() to reflect it cannot fail. As such __send_changing_extent_only() can update the clone_info before __send_duplicate_bios() is called to fan-out __map_bio() calls. Reviewed-by: Mikulas Patocka <mpatocka@redhat.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'lib/lz4')
0 files changed, 0 insertions, 0 deletions