+7
−2
Loading
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>