diff options
author | John Ogness <john.ogness@linutronix.de> | 2020-06-19 17:17:17 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-07-16 18:22:15 +0200 |
commit | a43f085f8720c4f705b86e7432d19ef955750b36 (patch) | |
tree | 45a1db7f0c6db78ad1432072eb8b467d1768f3bb /scripts/extract-sys-certs.pl | |
parent | block: integrate bd_start_claiming into __blkdev_get (diff) | |
download | linux-a43f085f8720c4f705b86e7432d19ef955750b36.tar.xz linux-a43f085f8720c4f705b86e7432d19ef955750b36.zip |
block: remove unnecessary ioc nested locking
The legacy CFQ IO scheduler could call put_io_context() in its exit_icq()
elevator callback. This led to a lockdep warning, which was fixed in
commit d8c66c5d5924 ("block: fix lockdep warning on io_context release
put_io_context()") by using a nested subclass for the ioc spinlock.
However, with commit f382fb0bcef4 ("block: remove legacy IO schedulers")
the CFQ IO scheduler no longer exists.
The BFQ IO scheduler also implements the exit_icq() elevator callback but
does not call put_io_context().
The nested subclass for the ioc spinlock is no longer needed. Since it
existed as an exception and no longer applies, remove the nested subclass
usage.
Signed-off-by: John Ogness <john.ogness@linutronix.de>
Reviewed-by: Daniel Wagner <dwagner@suse.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'scripts/extract-sys-certs.pl')
0 files changed, 0 insertions, 0 deletions