Re: [PATCH 1/2] block: remove unnecessary ioc nested locking

2020-06-23 Thread Daniel Wagner
On Fri, Jun 19, 2020 at 05:23:17PM +0206, John Ogness wrote: > 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()

[PATCH 1/2] block: remove unnecessary ioc nested locking

2020-06-19 Thread John Ogness
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 com