Skip to content
Commit c43cf3ea authored by Jennifer Herbert's avatar Jennifer Herbert Committed by David Vrabel
Browse files

xen-blkback: safely unmap grants in case they are still in use



Use gnttab_unmap_refs_async() to wait until the mapped pages are no
longer in use before unmapping them.

This allows blkback to use network storage which may retain refs to
pages in queued skbs after the block I/O has completed.

Signed-off-by: default avatarJennifer Herbert <jennifer.herbert@citrix.com>
Acked-by: default avatarRoger Pau Monné <roger.pau@citrix.com>
Acked-by: default avatarJens Axboe <axboe@kernel.de>
Signed-off-by: default avatarDavid Vrabel <david.vrabel@citrix.com>
parent 74528225
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment