Re: [Libguestfs] [nbdkit PATCH] swab: Implement .block_size callback

2022-02-23 Thread Laszlo Ersek
On 02/22/22 15:41, Eric Blake wrote: > On Tue, Feb 22, 2022 at 12:49:13PM +0100, Laszlo Ersek wrote: >> On 02/21/22 23:00, Eric Blake wrote: >>> We were previously enforcing minimum block size with EINVAL for >>> too-small requests. Advertise this to the client. >>> --- >>>

Re: [Libguestfs] [nbdkit PATCH] swab: Implement .block_size callback

2022-02-22 Thread Eric Blake
On Tue, Feb 22, 2022 at 12:49:13PM +0100, Laszlo Ersek wrote: > On 02/21/22 23:00, Eric Blake wrote: > > We were previously enforcing minimum block size with EINVAL for > > too-small requests. Advertise this to the client. > > --- > > filters/swab/nbdkit-swab-filter.pod | 6 ++ > >

Re: [Libguestfs] [nbdkit PATCH] swab: Implement .block_size callback

2022-02-22 Thread Laszlo Ersek
On 02/21/22 23:00, Eric Blake wrote: > We were previously enforcing minimum block size with EINVAL for > too-small requests. Advertise this to the client. > --- > filters/swab/nbdkit-swab-filter.pod | 6 ++ > filters/swab/swab.c | 24 +++- > 2 files

Re: [Libguestfs] [nbdkit PATCH] swab: Implement .block_size callback

2022-02-21 Thread Richard W.M. Jones
On Mon, Feb 21, 2022 at 04:00:11PM -0600, Eric Blake wrote: > We were previously enforcing minimum block size with EINVAL for > too-small requests. Advertise this to the client. > --- > filters/swab/nbdkit-swab-filter.pod | 6 ++ > filters/swab/swab.c | 24

[Libguestfs] [nbdkit PATCH] swab: Implement .block_size callback

2022-02-21 Thread Eric Blake
We were previously enforcing minimum block size with EINVAL for too-small requests. Advertise this to the client. --- filters/swab/nbdkit-swab-filter.pod | 6 ++ filters/swab/swab.c | 24 +++- 2 files changed, 29 insertions(+), 1 deletion(-) diff --git