Based on Rich's review of my v1 that touched only cache.c, I have now
tried to bring all three filters with alignment rounding in line with
one another.
There is definitely room for future improvements once we teach nbdkit
to let filters and plugins advertise block sizes, but I'm hoping to
get NBD_CMD_CACHE implemented first.
Eric Blake (2):
blocksize: Process requests in linear order
cache, cow: Reduce use of bounce-buffer
filters/blocksize/blocksize.c | 81 +++++++--------
filters/cache/cache.c | 173 +++++++++++++++++++++++---------
filters/cow/cow.c | 180 +++++++++++++++++++++++++---------
3 files changed, 299 insertions(+), 135 deletions(-)
--
2.20.1