Displaying 2 results from an estimated 2 matches for "_meta_context".
Did you mean:
meta_context
2019 Mar 08
2
Supporting sparse disks in nbdkit
...e massaging on this to get it into the
right format for NBD_CMD_BLOCK_STATUS. (I'm very confused about what
NBD_CMD_FLAG_REQ_ONE is supposed to do.)
We will also need a corresponding ‘can_extents’, which is analogous to
‘can_write’ etc and is what would control the output of
NBD_OPT_{SET,LIST}_META_CONTEXT.
For nbdkit-file-filter:
- Fairly simple implementation using SEEK_HOLE/SEEK_DATA.
- Not sure how we detect zeroes without reading the file.
For nbdkit-memory-plugin:
- Pretty simple implementation, which can even detect non-hole zeroes.
For VDDK:
- VixDiskLib_QueryAllocatedBlocks can retu...
2019 Mar 08
0
Re: Supporting sparse disks in nbdkit
...block status support, block status but let
nbdkit handle REQ_ONE, block status and the plugin can handle REQ_ONE
efficiently itself)
>
> We will also need a corresponding ‘can_extents’, which is analogous to
> ‘can_write’ etc and is what would control the output of
> NBD_OPT_{SET,LIST}_META_CONTEXT.
Yep, and I think it needs to be tri-state, like can_fua, as argued above.
>
> For nbdkit-file-filter:
file-plugin ?
>
> - Fairly simple implementation using SEEK_HOLE/SEEK_DATA.
>
> - Not sure how we detect zeroes without reading the file.
Not detecting allocated zeroes i...