diff options
author | Christoph Hellwig <[email protected]> | 2021-10-12 11:33:01 +0200 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2021-10-15 21:02:57 -0600 |
commit | c41108049d143304faf06852c7181262b7b0d242 (patch) | |
tree | a6212c9aa366bbe05466a237f79e1f57f4b3346a /scripts/gdb/linux/clk.py | |
parent | aec89dc5d421200b353d99a2bfff9e0967f67037 (diff) |
kyber: avoid q->disk dereferences in trace points
q->disk becomes invalid after the gendisk is removed. Work around this
by caching the dev_t for the tracepoints. The real fix would be to
properly tear down the I/O schedulers with the gendisk, but that is
a much more invasive change.
Signed-off-by: Christoph Hellwig <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Tested-by: Yi Zhang <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/clk.py')
0 files changed, 0 insertions, 0 deletions