blktrace.c: Make thread-safe by removing local static variables
authorLukas Straub <lukasstraub2@web.de>
Wed, 19 Jan 2022 21:14:36 +0000 (21:14 +0000)
committerJens Axboe <axboe@kernel.dk>
Thu, 20 Jan 2022 18:40:42 +0000 (11:40 -0700)
commit661592d44383069fe949ec68154c2d8079cf02a0
tree9e1baae565b522863ae2138bf6f86f7dcee1b7b1
parentf36bd1341690e0c63718c32465e173874bf56727
blktrace.c: Make thread-safe by removing local static variables

Local static variables are not thread-safe. Make the functions in
blktrace.c safe by replacing them.

Signed-off-by: Lukas Straub <lukasstraub2@web.de>
Link: https://lore.kernel.org/r/b805bb3f6acf6c5b4d8811872c62af939aac62a7.1642626314.git.lukasstraub2@web.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
blktrace.c
fio.h