[PATCH nbdkit v2 0/5] vddk: do_extents: Avoid reading partial chunk beyond the end of the disk
by Richard W.M. Jones
In v2:
- Cache the disk size in the handle, as Eric suggested in his review of v1
- Add a new patch to bail from the function if we hit the req_one condition.
I wasn't convinced that we would always do the right thing in the
req_one case. In particular, that we might add the extra extent in
this case (which would be wrong since it would extend from the end of
the last req_one extent to the end of the request). Bailing from the
whole function avoids this possibility.
- Added Acked-by to a couple of patches
2 weeks, 1 day