Re: [PATCH 4/8] virtio-blk: mark GLOBAL_STATE_CODE functions

2022-11-11 Thread Emanuele Giuseppe Esposito
Am 08/11/2022 um 22:19 schrieb Stefan Hajnoczi: > From: Emanuele Giuseppe Esposito > > Just as done in the block API, mark functions in virtio-blk > that are always called in the main loop with BQL held. > > We know such functions are GS because they all are callbacks > from virtio.c API that h

[PATCH 4/8] virtio-blk: mark GLOBAL_STATE_CODE functions

2022-11-08 Thread Stefan Hajnoczi
From: Emanuele Giuseppe Esposito Just as done in the block API, mark functions in virtio-blk that are always called in the main loop with BQL held. We know such functions are GS because they all are callbacks from virtio.c API that has already classified them as GS. Signed-off-by: Emanuele Gius