diff options
| author | Mikulas Patocka <mpatocka@redhat.com> | 2025-11-05 16:01:33 +0100 |
|---|---|---|
| committer | Mikulas Patocka <mpatocka@redhat.com> | 2025-12-10 19:28:12 +0100 |
| commit | de67c139b3846ece6b8bbb62abf1f010ae85c083 (patch) | |
| tree | 49a4175072a95b89378b3091bfaf593a3e3166cf /tools/lib/python/kdoc/kdoc_files.py | |
| parent | b9dd1f71e6fca46c9efed7e1328d1b2f4dacd19b (diff) | |
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 'tools/lib/python/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions
