[PATCH v2 0/2] nbd/server: Quiesce server on drained section

2021-06-01 Thread Sergio Lopez
Before switching between AioContexts we need to make sure that we're fully quiesced ("nb_requests == 0" for every client) when entering the drained section. Otherwise, coroutines may be run in the wrong context after the switch, leading to a number of critical issues. To accomplish this, we add ".

Re: [PATCH v2 0/2] nbd/server: Quiesce server on drained section

2021-06-02 Thread Kevin Wolf
Am 02.06.2021 um 08:05 hat Sergio Lopez geschrieben: > Before switching between AioContexts we need to make sure that we're > fully quiesced ("nb_requests == 0" for every client) when entering the > drained section. Otherwise, coroutines may be run in the wrong context > after the switch, leading t