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