[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 23/29] block/export: Create BlockBackend in blk_exp_add()
From: |
Max Reitz |
Subject: |
Re: [PATCH 23/29] block/export: Create BlockBackend in blk_exp_add() |
Date: |
Thu, 10 Sep 2020 17:09:12 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 |
On 07.09.20 20:20, Kevin Wolf wrote:
> Every export type will need a BlockBackend, so creating it centrally in
> blk_exp_add() instead of the .create driver callback avoids duplication.
>
> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
> ---
> include/block/nbd.h | 4 ++--
> block/export/export.c | 49 +++++++++++++++++++++++++++++++++++++++----
> blockdev-nbd.c | 33 ++++-------------------------
> nbd/server.c | 38 +++++++++++----------------------
> 4 files changed, 63 insertions(+), 61 deletions(-)
Reviewed-by: Max Reitz <mreitz@redhat.com>
signature.asc
Description: OpenPGP digital signature
- Re: [PATCH 19/29] block/export: Move strong user reference to block_exports, (continued)
- [PATCH 20/29] block/export: Add block-export-del, Kevin Wolf, 2020/09/07
- [PATCH 18/29] block/export: Add 'id' option to block-export-add, Kevin Wolf, 2020/09/07
- [PATCH 21/29] block/export: Add BLOCK_EXPORT_DELETED event, Kevin Wolf, 2020/09/07
- [PATCH 23/29] block/export: Create BlockBackend in blk_exp_add(), Kevin Wolf, 2020/09/07
- Re: [PATCH 23/29] block/export: Create BlockBackend in blk_exp_add(),
Max Reitz <=
- [PATCH 24/29] block/export: Add query-block-exports, Kevin Wolf, 2020/09/07
- [PATCH 22/29] block/export: Move blk to BlockExport, Kevin Wolf, 2020/09/07
- [PATCH 25/29] block/export: Move writable to BlockExportOptions, Kevin Wolf, 2020/09/07
- [PATCH 27/29] nbd: Deprecate nbd-server-add/remove, Kevin Wolf, 2020/09/07
- [PATCH 26/29] nbd: Merge nbd_export_new() and nbd_export_create(), Kevin Wolf, 2020/09/07