Subject: Re: [PATCH v2 3/7] odb: update `struct odb_write_stream` read() callback

From: Patrick Steinhardt <[email-masked]>
Date: Wed, 1 Apr 2026 13:23:36 +0200

On Tue, Mar 31, 2026 at 10:03:11PM -0500, Justin Tobler wrote:
> The `read()` callback used by `struct odb_write_stream` currently
> returns a pointer to an internal buffer along with the number of bytes
> read. This makes buffer ownership unclear and provides no way to report
> errors.

Not only that, but it also means that it's impossible for the caller to
control the chunk size.

The changes all look straight-forward to me.

Patrick