[PATCH 0/2] xen/blkback: support delete-on-close block devices

From: Demi Marie Obenour
Date: Thu Jun 01 2023 - 17:48:44 EST


These two patches allow userspace to provide an expected diskseq of a
block device and discover when blkback has opened the device. Together,
these features allow using blkback with delete-on-close block devices,
such as loop devices with autoclear set.

Demi Marie Obenour (2):
xen-blkback: Implement diskseq checks
xen-blkback: Inform userspace that device has been opened

drivers/block/xen-blkback/xenbus.c | 147 ++++++++++++++++++++++++-----
1 file changed, 124 insertions(+), 23 deletions(-)

--
Sincerely,
Demi Marie Obenour (she/her/hers)
Invisible Things Lab