aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/export-to-postgresql-report
diff options
context:
space:
mode:
authorRobert Altnoeder <[email protected]>2023-01-13 13:35:32 +0100
committerJens Axboe <[email protected]>2023-01-29 15:18:33 -0700
commit2167879655b3a9a0a970d50b202e45f7fc45d092 (patch)
treec8f927adbac5d85a5a79c8791dfb47dda60b1f87 /tools/perf/scripts/python/bin/export-to-postgresql-report
parent37800068673220326fcdf7f40ccf05ca54854585 (diff)
drbd: fix DRBD_VOLUME_MAX 65535 -> 65534
The protocol uses -1 as a reserved value for 'no specific volume', and since the protocol field is a 16 bit unsigned value, -1 is converted to 65535. Therefore, limit the range of valid volume numbers to [0, 65534]. Signed-off-by: Robert Altnoeder <[email protected]> Signed-off-by: Christoph Böhmwalder <[email protected]> Reviewed-by: Joel Colledge <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions