summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorMikulas Patocka <mpatocka@redhat.com>2025-11-05 18:01:33 +0300
committerMikulas Patocka <mpatocka@redhat.com>2025-12-10 21:28:12 +0300
commitde67c139b3846ece6b8bbb62abf1f010ae85c083 (patch)
tree49a4175072a95b89378b3091bfaf593a3e3166cf /scripts
parentb9dd1f71e6fca46c9efed7e1328d1b2f4dacd19b (diff)
downloadlinux-de67c139b3846ece6b8bbb62abf1f010ae85c083.tar.xz
dm: test for REQ_ATOMIC in dm_accept_partial_bio()
Any bio with REQ_ATOMIC flag set should never be split or partially completed, so BUG_ON() on this scenario in dm_accept_partial_bio() (whose intent is to allow partial completions). Also, we must reject atomic bio to targets that don't support them, otherwise this BUG could be triggered by stray bios that have the REQ_ATOMIC set. Signed-off-by: John Garry <john.g.garry@oracle.com> Signed-off-by: Mikulas Patocka <mpatocka@redhat.com> Tested-by: John Garry <john.g.garry@oracle.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions