diff options
author | 2020-05-11 10:24:18 +0200 | |
---|---|---|
committer | 2020-05-15 10:29:36 -0400 | |
commit | b71228739851a9b384a59ba0467259eba508b408 (patch) | |
tree | cdcde6df6c797078a5e90ec211814f78c8c0b9c3 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | dm zoned: add 'message' callback (diff) | |
download | wireguard-linux-b71228739851a9b384a59ba0467259eba508b408.tar.xz wireguard-linux-b71228739851a9b384a59ba0467259eba508b408.zip |
dm zoned: store zone id within the zone structure and kill dmz_id()
Instead of calculating the zone index by the offset within the
zone array store the index within the structure itself. With that
the helper dmz_id() is pointless and can be replaced with accessing
the ->id value directly.
Signed-off-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Bob Liu <bob.liu@oracle.com>
Reviewed-by: Damien Le Moal <damien.lemoal@wdc.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions