Re: [RFC PATCH 13/22] block/export: Move refcount from NBDExport to BlockExport

2020-08-20 Thread Kevin Wolf
Am 19.08.2020 um 22:58 hat Eric Blake geschrieben: > On 8/13/20 11:29 AM, Kevin Wolf wrote: > > Having a refcount makes sense for all types of block exports. It is also > > a prerequisite for keeping a list of all exports at the BlockExport > > level. > > > > Signed-off-by: Kevin Wolf > > --- >

Re: [RFC PATCH 13/22] block/export: Move refcount from NBDExport to BlockExport

2020-08-19 Thread Eric Blake
On 8/13/20 11:29 AM, Kevin Wolf wrote: Having a refcount makes sense for all types of block exports. It is also a prerequisite for keeping a list of all exports at the BlockExport level. Signed-off-by: Kevin Wolf --- +++ b/include/block/export.h @@ -21,14 +21,24 @@ typedef struct

Re: [RFC PATCH 13/22] block/export: Move refcount from NBDExport to BlockExport

2020-08-17 Thread Max Reitz
On 13.08.20 18:29, Kevin Wolf wrote: > Having a refcount makes sense for all types of block exports. It is also > a prerequisite for keeping a list of all exports at the BlockExport > level. > > Signed-off-by: Kevin Wolf > --- > include/block/export.h | 10 ++ > include/block/nbd.h| 2