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

Message ID 20230601214823.1701-1-demi@invisiblethingslab.com
Headers
Series xen/blkback: support delete-on-close block devices |

Message

Demi Marie Obenour June 1, 2023, 9:48 p.m. UTC
  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(-)