Displaying 2 results from an estimated 2 matches for "hole_length".
2019 Mar 23
3
Re: [PATCH nbdkit 1/8] server: Implement extents/can_extents calls for plugins and filters.
.../ { length=100, type=1 }, // offset would compute as 1100
// ...
// ], implied start=1000
return ret;
}
Doing that may also make it easier to do write a filter that mixes its
own holes with the underlying status of the plugin:
// append hole owned by filter:
nbdkit_extent_add(extents, hole_length, offset, hole)
// change expected next offset for plugin
int64_t delta = nbdkit_extents_adjust_next (extents, 0)
// let plugin append its extents
next_ops->extents (nxdata, count - hole_length, 0, flags, extents, err)
// adjust things back to normal
nbdkit_extents_adjust_next (extent...
2019 Mar 20
15
[PATCH nbdkit 0/8] Implement extents using a simpler array.
Not sure what version we're up to, but this reimplements extents using
the new simpler structure described in this thread:
https://www.redhat.com/archives/libguestfs/2019-March/msg00077.html
I also fixed most of the things that Eric pointed out in the previous
review, although I need to go back over his replies and check I've got
everything.
This needs a bit more testing. However the