All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kevin Wolf <kwolf@suse.de>
To: Ian Jackson <Ian.Jackson@eu.citrix.com>
Cc: xen-devel@lists.xensource.com
Subject: Re: [RFC][PATCH] Use ioemu block drivers through blktap
Date: Mon, 31 Mar 2008 13:11:57 +0200	[thread overview]
Message-ID: <47F0C6FD.7060500@suse.de> (raw)
In-Reply-To: <18416.45243.850593.642052@mariner.uk.xensource.com>

Ian Jackson schrieb:
> If this cleanup is really necessary, then that will cause problems for
> future runs.  If not then the cleanup isn't really necessary :-).

I think in your classification they are "not really necessary" cleanups.
But that's no reason not to do them, right?

> Leftover named pipes, for example, aren't really a big problem and can
> just be garbage collected at some point (provided their names are
> sufficiently unique).
> 
> I haven't eyeballed all of the new qemu blktap arrangements in detail.
> What processes are there and why can't the process at the other end of
> the pipe do the cleanup ?

As for uniqueness, they have the domain ID as part of their filename. If
a pipe already exists it is reused, so no real problem here, it's just
not nice to leave too many of them lying around IMHO.

Think of qemu-dm as a server providing access to disk images. If you
want the process at the other end to do the cleanup, you have the client
cleaning up server pipes. Even though this sounds a bit odd, it might
work for us in principle as the client is a single blktapctrl process
(or even xend?). One problem would be that qemu-dm could provide a pipe
which is not used by any client (if you don't use tap:ioemu block
devices) and thus won't be cleaned up.

Kevin

  reply	other threads:[~2008-03-31 11:11 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-10 17:03 [RFC][PATCH] Use ioemu block drivers through blktap Kevin Wolf
2008-03-13 12:25 ` Kevin Wolf
2008-03-13 14:21   ` Konrad Rzeszutek
2008-03-14  9:37     ` Kevin Wolf
2008-03-17 14:12       ` Konrad Rzeszutek
2008-03-28 15:22   ` Ian Jackson
2008-03-31  9:10     ` Kevin Wolf
2008-03-31  9:36       ` Ian Jackson
2008-03-31 11:11         ` Kevin Wolf [this message]
2008-03-31 13:23           ` Ian Jackson
2008-03-31 13:31             ` Keir Fraser
2008-03-31 13:37               ` Ian Jackson
2008-03-31 13:37             ` Kevin Wolf

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=47F0C6FD.7060500@suse.de \
    --to=kwolf@suse.de \
    --cc=Ian.Jackson@eu.citrix.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.