[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-block] [PATCH v6 6/8] qcow2: qcow2_co_preadv: improve locking
From: |
Alberto Garcia |
Subject: |
Re: [Qemu-block] [PATCH v6 6/8] qcow2: qcow2_co_preadv: improve locking |
Date: |
Thu, 09 May 2019 14:11:02 +0200 |
User-agent: |
Notmuch/0.18.2 (http://notmuchmail.org) Emacs/24.4.1 (i586-pc-linux-gnu) |
On Mon 06 May 2019 04:27:39 PM CEST, Vladimir Sementsov-Ogievskiy wrote:
> Background: decryption will be done in threads, to take benefit of it,
> we should move it out of the lock first.
>
> But let's go further: it turns out, that only
> qcow2_get_cluster_offset() needs locking, so reduce locking to it.
>
> Signed-off-by: Vladimir Sementsov-Ogievskiy <address@hidden>
Reviewed-by: Alberto Garcia <address@hidden>
Berto
- [Qemu-block] [PATCH v6 0/8] qcow2: encryption threads, Vladimir Sementsov-Ogievskiy, 2019/05/06
- [Qemu-block] [PATCH v6 8/8] qcow2: do encryption in threads, Vladimir Sementsov-Ogievskiy, 2019/05/06
- [Qemu-block] [PATCH v6 4/8] qcow2-threads: qcow2_co_do_compress: protect queuing by mutex, Vladimir Sementsov-Ogievskiy, 2019/05/06
- [Qemu-block] [PATCH v6 7/8] qcow2: bdrv_co_pwritev: move encryption code out of the lock, Vladimir Sementsov-Ogievskiy, 2019/05/06
- [Qemu-block] [PATCH v6 6/8] qcow2: qcow2_co_preadv: improve locking, Vladimir Sementsov-Ogievskiy, 2019/05/06
- Re: [Qemu-block] [PATCH v6 6/8] qcow2: qcow2_co_preadv: improve locking,
Alberto Garcia <=
- [Qemu-block] [PATCH v6 5/8] qcow2-threads: split out generic path, Vladimir Sementsov-Ogievskiy, 2019/05/06
- [Qemu-block] [PATCH v6 2/8] qcow2: add separate file for threaded data processing functions, Vladimir Sementsov-Ogievskiy, 2019/05/06
- [Qemu-block] [PATCH v6 1/8] qcow2.h: add missing include, Vladimir Sementsov-Ogievskiy, 2019/05/06
- [Qemu-block] [PATCH v6 3/8] qcow2-threads: use thread_pool_submit_co, Vladimir Sementsov-Ogievskiy, 2019/05/06
- Re: [Qemu-block] [PATCH v6 0/8] qcow2: encryption threads, Max Reitz, 2019/05/09