From: Rohit Seth <rohitseth@google.com>
To: Valdis.Kletnieks@vt.edu
Cc: Andrew Morton <akpm@osdl.org>,
devel@openvz.org, CKRM-Tech <ckrm-tech@lists.sourceforge.net>,
linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: [Patch 01/05]- Containers: Documentation on using containers
Date: Tue, 19 Sep 2006 09:30:24 -0700 [thread overview]
Message-ID: <1158683424.18533.51.camel@galaxy.corp.google.com> (raw)
In-Reply-To: <200609191532.k8JFWJfE022222@turing-police.cc.vt.edu>
On Tue, 2006-09-19 at 11:32 -0400, Valdis.Kletnieks@vt.edu wrote:
> On Thu, 14 Sep 2006 18:38:33 PDT, Rohit Seth said:
>
> (Sorry for the late reply...)
>
>
> > --- linux-2.6.18-rc6-mm2.org/Documentation/containers.txt 1969-12-31 16:00:00.000000000 -0800
> > +++ linux-2.6.18-rc6-mm2.ctn/Documentation/containers.txt 2006-09-14 17:13:48.000000000 -0700
>
> > +5- Remove a task from container
> > + echo <pid> rmtask
>
> echo <pid> > rmtask
>
> is what I think was intended. Also, I'm not sure <pid> is the best
> meta-syntax - anybody got a better idea?
>
Fixed that.
> > +9- Freeing a container
> > + cd /mnt/configfs/containers/
> > + rmdir test_container
>
> What happens if you try to remove a container that still has active tasks? Are
> you relying on the VFS to catch the 'non-empty directory'? (of course, 'rm -r'
> has predictable semantics here).
>
When a rmdir operation is done on a directory, then all tasks have to
move out of container (before we the rmdir operation is complete). This
removal of tasks from a container is done as part of
container_remove_tasks.
> I see support for "add a task" and "remove a task", but none for listing
> the current tasks in the container?
This is one of the TODO items that I've listed. Will be there soon.
thanks,
-rohit
prev parent reply other threads:[~2006-09-19 16:30 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-09-15 1:38 Rohit Seth
2006-09-15 6:15 ` Rolf Eike Beer
2006-09-15 10:12 ` [Devel] " Kir Kolyshkin
2006-09-15 16:46 ` Rohit Seth
2006-09-15 16:45 ` Rohit Seth
2006-09-15 17:44 ` Björn Steinbrink
2006-09-15 18:19 ` Rohit Seth
2006-09-19 15:32 ` Valdis.Kletnieks
2006-09-19 16:30 ` Rohit Seth [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=1158683424.18533.51.camel@galaxy.corp.google.com \
--to=rohitseth@google.com \
--cc=Valdis.Kletnieks@vt.edu \
--cc=akpm@osdl.org \
--cc=ckrm-tech@lists.sourceforge.net \
--cc=devel@openvz.org \
--cc=linux-kernel@vger.kernel.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome