|
From: | Emanuele Giuseppe Esposito |
Subject: | Re: [PATCH 6/8] virtio-blk: remove unnecessary AioContext lock from function already safe |
Date: | Fri, 11 Nov 2022 13:23:06 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.2.0 |
Am 08/11/2022 um 22:19 schrieb Stefan Hajnoczi: > From: Emanuele Giuseppe Esposito <eesposit@redhat.com> > > AioContext lock was introduced in b9e413dd375 and in this instance > it is used to protect these 3 functions: > - virtio_blk_handle_rw_error > - virtio_blk_req_complete > - block_acct_done > > Now that all three of the above functions are protected with > their own locks, we can get rid of the AioContext lock. > > Signed-off-by: Emanuele Giuseppe Esposito <eesposit@redhat.com> > Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> > Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> > Message-Id: <20220609143727.1151816-9-eesposit@redhat.com> > Reviewed-by: Emanuele Giuseppe Esposito <eesposit@redhat.com>
[Prev in Thread] | Current Thread | [Next in Thread] |