HomeFreeBSD

xen/blkback: remove bounce buffering mode

Description

xen/blkback: remove bounce buffering mode

Remove bounce buffering code for blkback and only attach if Xen
creates IOMMU entries for grant mapped pages.

Such bounce buffering consumed a non trivial amount of memory and CPU
resources to do the memory copy, when it's been a long time since Xen
has been creating IOMMU entries for grant maps.

Refuse to attach blkback if Xen doesn't advertise that IOMMU entries
are created for grant maps.

Sponsored by: Citrix Systems R&D

Details

Provenance
roygerAuthored on Apr 12 2022, 2:17 PM
Parents
rG137381ca606c: xen/blkback: fix tear-down issues
Branches
Unknown
Tags
Unknown