From: Josef Bacik <josef@redhat.com>
To: Jan Kiszka <jan.kiszka@siemens.com>
Cc: linux-btrfs@vger.kernel.org, aaron@merfinllc.com
Subject: Re: Removal of snapshots (and subvolumes)
Date: Mon, 15 Jun 2009 14:19:18 -0400 [thread overview]
Message-ID: <20090615181918.GE3085@localhost.localdomain> (raw)
In-Reply-To: <4A367CC6.1000302@siemens.com>
On Mon, Jun 15, 2009 at 06:54:30PM +0200, Jan Kiszka wrote:
> Hi,
>
> obviously btrfs is yet lacking any means to delete snapshots and
> subvolumes, well, at least their names (I read something about deleting
> their content...). We wanted to start playing with circular snapshots
> over btrfs driven by an application, so this limitation is a bit unhandy
> - even if everything is highly experimental here anyway.
>
> Browsing the archive, I found Aaron's first patches to fill this gap.
> What happened to them? Besides likely a few remaining bugs, the biggest
> seems to have been some lacking references in btrfs' tree roots. Did
> this situation change meanwhile? What is the schedule for this feature?
> If it's just lacking someone to pick up already existing bits and bring
> them in shape, I could offer a hand. Just hacking on btrfs with broader
> scope is currently not possible.
>
Its a little tricky atm, with Yan's new format patches. The drop snapshots
patch he sent recently will be needed. You just need to use that to drop the
items in the snapshot root, and then you'll need to add some extra code to
actually remove the root. I think thats everything. Thanks,
Josef
prev parent reply other threads:[~2009-06-15 18:19 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-15 16:54 Removal of snapshots (and subvolumes) Jan Kiszka
2009-06-15 18:19 ` Josef Bacik [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=20090615181918.GE3085@localhost.localdomain \
--to=josef@redhat.com \
--cc=aaron@merfinllc.com \
--cc=jan.kiszka@siemens.com \
--cc=linux-btrfs@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