aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/export-to-postgresql-report
diff options
context:
space:
mode:
authorColy Li <[email protected]>2020-07-25 20:00:24 +0800
committerJens Axboe <[email protected]>2020-07-25 07:38:20 -0600
commitc557a5f7bb2558f1386038549c289d7a20c78730 (patch)
tree03268fe1ee770a5ca23884133de5a6cdb3940a06 /tools/perf/scripts/python/bin/export-to-postgresql-report
parent5b21403c7f48b7d2312b302ab9e8468ec2c711a3 (diff)
bcache: add more accurate error information in read_super_common()
The improperly set bucket or block size will trigger error in read_super_common(). For large bucket size, a more accurate error message for invalid bucket or block size is necessary. This patch disassembles the combined if() checks into multiple single if() check, and provide more accurate error message for each check failure condition. Signed-off-by: Coly Li <[email protected]> Reviewed-by: Hannes Reinecke <[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