On 5/29/20 7:53 AM, Christoph Hellwig wrote: > Hi all, > > this series ensures I/O is quiesced before a cpu and thus the managed > interrupt handler is shut down. > > This patchset tries to address the issue by the following approach: > > - before the last cpu in hctx->cpumask is going to offline, mark this > hctx as inactive > > - disable preempt during allocating tag for request, and after tag is > allocated, check if this hctx is inactive. If yes, give up the > allocation and try remote allocation from online CPUs > > - before hctx becomes inactive, drain all allocated requests on this > hctx > > The guts of the changes are from Ming Lei, I just did a bunch of prep > cleanups so that they can fit in more nicely. The series also depends > on my "avoid a few q_usage_counter roundtrips v3" series. > > Thanks John Garry for running lots of tests on arm64 with this previous > version patches and co-working on investigating all kinds of issues. Applied, thanks. -- Jens Axboe