All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Łukasz Oleś" <lukaszoles@gmail.com>
To: xen-devel@lists.xensource.com
Subject: Re: [PATCH 0 of 7] blktap2: The tap-ctl userspace control utility and library
Date: Tue, 3 Aug 2010 21:14:24 +0200	[thread overview]
Message-ID: <201008032114.24684.lukaszoles@gmail.com> (raw)
In-Reply-To: <patchbomb.1275947687@agari.van.xensource.com>

On Monday 07 June 2010 23:54:47 Daniel Stodden wrote:
> 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.

I think README file should be also updated.

And maybe its good idea to merge it to xen 4.0?

--
Łukasz Oleś

      parent reply	other threads:[~2010-08-03 19:14 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 ` Łukasz Oleś [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201008032114.24684.lukaszoles@gmail.com \
    --to=lukaszoles@gmail.com \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.