On Thu, Apr 20, 2017 at 02:00:41PM +0200, Paolo Bonzini wrote: > This series uses mutexes or atomic operations around core block layer > operations. The remaining parts include: > > - drivers, though most of them are already thread safe (part 2, 8 patches, > depends on Kevin's conversion of QED to coroutines) > > - block jobs, before-write notifiers, the write threshold mechanism, > snapshots, replication, key management (part 3, 16 patches) > > - devices (virtio-blk/virtio-scsi, part 4, 5 patches) > > Once these four parts are done the AioContext lock can be removed > together with all temporary workarounds that have accumulated.
I like the direction these changes are heading in. Avoiding low-level tricks and custom primitives would be nice until there is performance data justifying them because they are time-consuming to review, increase complexity, and are likely to be misused by others. Stefan
signature.asc
Description: PGP signature