aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorKeith Busch <[email protected]>2022-06-10 12:58:20 -0700
committerJens Axboe <[email protected]>2022-06-27 06:29:11 -0600
commitb82d9fa257cb3725c49d94d2aeafc4677c34448a (patch)
tree6ca7e56ab78490a6a2b48028f112063985b80604 /tools/perf/scripts/python
parent03c765b0e3b4cb5063276b086c76f7a612856a9a (diff)
block: fix infinite loop for invalid zone append
Returning 0 early from __bio_iov_append_get_pages() for the max_append_sectors warning just creates an infinite loop since 0 means success, and the bio will never fill from the unadvancing iov_iter. We could turn the return into an error value, but it will already be turned into an error value later on, so just remove the warning. Clearly no one ever hit it anyway. Fixes: 0512a75b98f84 ("block: Introduce REQ_OP_ZONE_APPEND") Signed-off-by: Keith Busch <[email protected]> Reviewed-by: Damien Le Moal <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Reviewed-by: Johannes Thumshirn <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions