block: blk_co_pcache
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 9 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | block: implement blk_co_pcacheblock/ include/ include/ | +26 | 0 replies | |
| 2/3 | block/stream: use blk_co_pcacheblock/ | +6 | 0 replies | |
| 3/3 | nbd: improve CMD_CACHE: use blk_co_pcachenbd/ | +35 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [Qemu-devel] [PATCH 0/3] block: blk_co_pcache
Hi all!
Here is small new io API: blk_co_pcache, which does copy-on-read without extra buffer for read data. This means that only parts that needs COR will be actually read and only corresponding buffers allocated, no more.
This allows to improve a bit block-stream and NBD_CMD_CACHE
Vladimir Sementsov-Ogievskiy (3):
block: implement blk_co_pcache
block/stream: use blk_co_pcache
nbd: improve CMD_CACHE: use blk_co_pcache
include/block/block.h | 8 ++++++- include/sysemu/block-backend.h | 7 ++++++ block/io.c | 18 +++++++++----- block/stream.c | 19 +++++---------- nbd/server.c | 43 +++++++++++++++++++++++++++------- 5 files changed, 67 insertions(+), 28 deletions(-)
Signature · 1 line
2.18.0