On 05/11/2025 15:01, Mikulas Patocka wrote:
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 could be triggered by stray bios that have the
REQ_ATOMIC set.
Signed-off-by: John Garry <[email protected]>
Signed-off-by: Mikulas Patocka <[email protected]>
Tested-by: John Garry <[email protected]>
Thanks!