summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorBodo Stroesser <bostroesser@gmail.com>2021-03-24 22:57:53 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2021-04-13 05:40:55 +0300
commitecddbb7e945daabdf28a29b95c4a2d88d166a891 (patch)
tree682ae03c86e7258c258cc286bd52e4de8ffb84c7 /tools/perf/scripts/python/export-to-postgresql.py
parent84b20b8062e76a0290aee7360c8238df681c106e (diff)
downloadlinux-ecddbb7e945daabdf28a29b95c4a2d88d166a891.tar.xz
scsi: target: tcmu: Adjust names of variables and definitions
Some definitions and members of struct tcmu_dev had misleading names. Examples: - ring_size was used for the size of mailbox + cmd ring + data area - CMDR_SIZE was used for size of mailbox + cmd ring I added the new definition MB_CMDR_SIZE (mailbox + command ring), changed CMDR_SIZE to hold the size of the command ring only and replaced in struct tcmu_dev the member ring_size with mmap_pages, because the member is now used in tcmu_mmap() only, where we need page count, not size. I also added the new struct tcmu_dev member 'cmdr' which is used to replace some occurences of '(void *)mb + CMDR_OFF' with 'udev->cmdr' for better readability. Link: https://lore.kernel.org/r/20210324195758.2021-2-bostroesser@gmail.com Signed-off-by: Bodo Stroesser <bostroesser@gmail.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions