aboutsummaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorGravatar Christoph Hellwig <hch@lst.de> 2021-10-12 11:33:01 +0200
committerGravatar Jens Axboe <axboe@kernel.dk> 2021-10-15 21:02:57 -0600
commitc41108049d143304faf06852c7181262b7b0d242 (patch)
treea6212c9aa366bbe05466a237f79e1f57f4b3346a /drivers
parentblock: keep q_usage_counter in atomic mode after del_gendisk (diff)
downloadlinux-c41108049d143304faf06852c7181262b7b0d242.tar.gz
linux-c41108049d143304faf06852c7181262b7b0d242.tar.bz2
linux-c41108049d143304faf06852c7181262b7b0d242.zip
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 <hch@lst.de> Link: https://lore.kernel.org/r/20211012093301.GA27795@lst.de Tested-by: Yi Zhang <yi.zhang@redhat.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions