diff options
author | Damien Le Moal <damien.lemoal@wdc.com> | 2021-05-26 06:24:54 +0900 |
---|---|---|
committer | Mike Snitzer <snitzer@redhat.com> | 2021-06-04 12:07:29 -0400 |
commit | 6842d264aa5205da338b6dcc6acfa2a6732558f1 (patch) | |
tree | a4323e861f7191d86f8f48317f5e668b941e34bf /scripts/gdb/linux/utils.py | |
parent | bab68499428ed934f0493ac74197ed6f36204260 (diff) |
dm: Fix dm_accept_partial_bio() relative to zone management commands
Fix dm_accept_partial_bio() to actually check that zone management
commands are not passed as explained in the function documentation
comment. Also, since a zone append operation cannot be split, add
REQ_OP_ZONE_APPEND as a forbidden command.
White lines are added around the group of BUG_ON() calls to make the
code more legible.
Signed-off-by: Damien Le Moal <damien.lemoal@wdc.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions