All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0 of 7] blktap2: The tap-ctl userspace control utility and library
@ 2010-06-07 21:54 Daniel Stodden
  2010-06-07 21:54 ` [PATCH 1 of 7] blktap2: Remove tapdisk-ipc module Daniel Stodden
                   ` (7 more replies)
  0 siblings, 8 replies; 24+ messages in thread
From: Daniel Stodden @ 2010-06-07 21:54 UTC (permalink / raw)
  To: Xen


Hi.

Apart from removing some dead code and tidying up tapdisk-vbd a
little, the bigger introduces our new tap-ctl utility code.

The code aims to be a complete replacement for the original blktap2
control path, run through sysfs. Fully implemented in userspace, all
tapdisks now gained a small IPC layer on top of Unix domain sockets.

Sample usage:

# tap-ctl allocate
/dev/xen/blktap-2/tapdev0

# tap-ctl spawn
tapdisk spawned with pid 4168

# tap-ctl list
    4168  -    -          - -
       -  0    -          - -

# tap-ctl attach -p 4168 -m 0
# tap-ctl list
    4168  0    0          - -

# tap-ctl open -p 4168 -m 0 -a aio:/var/tmp/lenny.ext

# tap-ctl list
    4168  0    0        aio /var/tmp/lenny.ext

# tap-ctl close -p 4168 -m 0
# tap-ctl detach -p 4168 -m 0
# tap-ctl free -m 0

The above example is a bit noisy, because it's mediating between minor
number (block devices), tapdisks and tapdisk VBDs (the tapdisk I/O
queue running a bdev) in detail. 

There are shortcuts. At the same time, the low-level interface should
be general enough to stay extensible, and help accomodate some of the
more esoteric features, like shared images and/or multiple VBDs
sharing the same tapdisk.

Cheers,
Daniel

^ permalink raw reply	[flat|nested] 24+ messages in thread

end of thread, other threads:[~2010-08-03 19:14 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-07 21:54 [PATCH 0 of 7] blktap2: The tap-ctl userspace control utility and library Daniel Stodden
2010-06-07 21:54 ` [PATCH 1 of 7] blktap2: Remove tapdisk-ipc module Daniel Stodden
2010-06-07 21:54 ` [PATCH 2 of 7] blktap2: Remove LVM hacks Daniel Stodden
2010-06-07 21:54 ` [PATCH 3 of 7] blktap2: Fix tapdisk disktype issues Daniel Stodden
2010-06-07 21:54 ` [PATCH 4 of 7] blktap2: Fix E/DPRINTF defs all around the driver/ subdir Daniel Stodden
2010-06-07 21:54 ` [PATCH 5 of 7] blktap2: Cleanup vdi stacking code Daniel Stodden
2010-06-07 21:54 ` [PATCH 6 of 7] blktap2: The tap-ctl userspace control utility and library Daniel Stodden
2010-06-07 21:54 ` [PATCH 7 of 7] blktap2: Port Xend to the tap-ctl interface Daniel Stodden
2010-06-09 20:25   ` Jeremy Fitzhardinge
2010-06-09 20:57     ` Daniel Stodden
2010-06-09 22:11       ` Daniel Stodden
2010-06-09 22:32         ` Jeremy Fitzhardinge
2010-06-10  3:26     ` [PATCH 0 of 4] libxl/blktap2 Daniel Stodden
2010-06-10  3:26       ` [PATCH 1 of 4] blktap2: Fix broken tap-ctl-list type/path filter logic Daniel Stodden
2010-06-10  3:26       ` [PATCH 2 of 4] blktap2: Add tap_ctl_find_minor Daniel Stodden
2010-06-10  3:26       ` [PATCH 3 of 4] blktap2: Build libblktapctl.so Daniel Stodden
2010-06-10  3:26       ` [PATCH 4 of 4] libxl: Use libblktapctl.so Daniel Stodden
2010-06-10 15:43         ` Stefano Stabellini
2010-06-10 20:11           ` Daniel Stodden
2010-06-10 16:25         ` Stefano Stabellini
2010-06-10 22:27           ` Daniel Stodden
2010-06-11 10:42             ` Stefano Stabellini
2010-06-11 13:00               ` Stefano Stabellini
2010-08-03 19:14 ` [PATCH 0 of 7] blktap2: The tap-ctl userspace control utility and library Łukasz Oleś

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.