mbox series

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

Message ID 20230601214823.1701-1-demi@invisiblethingslab.com (mailing list archive)
Headers show
Series xen/blkback: support delete-on-close block devices | expand

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(-)

Comments

Roger Pau Monne June 6, 2023, 9:31 a.m. UTC | #1
On Thu, Jun 01, 2023 at 05:48:21PM -0400, Demi Marie Obenour wrote:
> 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.

I think I've already commented on those as part of the previously
posted bigger series "Diskseq support in loop, device-mapper, and
blkback".

Regards, Roger.