Re: [PATCH v2 00/16] block atomic writes

From: Christoph Hellwig
Date: Thu Dec 21 2023 - 08:22:58 EST


On Thu, Dec 21, 2023 at 01:18:33PM +0000, John Garry wrote:
>> For SGL-capable devices that would be
>> BIO_MAX_VECS, otherwise 1.
>
> ok, but we would need to advertise that or whatever segment limit. A statx
> field just for that seems a bit inefficient in terms of space.

I'd rather not hard code BIO_MAX_VECS in the ABI, which suggest we
want to export is as a field. Network file systems also might have
their own limits for one reason or another.