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

From: John Garry
Date: Thu Dec 21 2023 - 09:04:07 EST


On 21/12/2023 13:22, Christoph Hellwig wrote:
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,

For sure

which suggest we
want to export is as a field.

ok

Network file systems also might have
their own limits for one reason or another.

Understood