On Wed, Nov 25, 2026 at 9:07 AM Johannes Thumshirn
<[email protected]> wrote:
> On 11/25/26 9:39 AM, Alberto Faria wrote:
> > +     /*
> > +      * Do not advertise FUA when the device is zoned, since we
> > +      * would not be able to handle it on REQ_OP_ZONE_APPEND.
> > +      */
> > +     if (virtio_has_feature(vdev, VIRTIO_BLK_F_REQ_FLAGS) &&
> > +         virtio_has_feature(vdev, VIRTIO_BLK_F_REQ_FLAGS_OUT_FUA) &&
> > +         !(lim.features & BLK_FEAT_ZONED))
> > +             lim.features |= BLK_FEAT_FUA;
> > +
>
> Can you elaborate why?

The virtio spec currently only defines FUA for OUT requests, so there
would be no way to pass on the REQ_FUA to the device on a zone append.

Alberto


Reply via email to