public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Aaron Straus <aaron@merfinllc.com>
To: Siddhartha Swaroop <siddhartha.swaroop@greenturtles.in>
Cc: linux-kernel@vger.kernel.org, linux-btrfs@vger.kernel.org
Subject: Re: Unable to create the previously deleted snapshot or subvolume
Date: Tue, 10 Mar 2009 09:20:09 -0700	[thread overview]
Message-ID: <20090310162009.GA31499@merfinllc.com> (raw)
In-Reply-To: <d853ebb60903100212h67282cfck99a097a4530c4e6a@mail.gmail.com>

Hi Siddhartha,

On Mar 10 02:42 PM, Siddhartha Swaroop wrote:
> So from about test case the problem I faced is when ever I try to
> create a snapshot or subvolume of same name which previously deleted
> it says file exists.But when I do "$ ls " that file will not be
> present in that directory.  But once in a while am able to create it
> as u can see in the about test steps  7,8,9.

Thanks.  That patch is certainly dangerous and meant more as a request
for help!  :)

That said, the most important thing I still don't understand is the tree
root forward and back refs.  

In particular I don't think BTRFS is adding all the forward and back
refs in the snapshot of snapshot case.

The will make snapshot deletion difficult because one cannot tell if the
tree root is still being referenced by another tree root (or not)...

Anyway, I think that's still the first thing to be cleaned up.

				Regards,
				=a=




-- 
===================
Aaron Straus
aaron@merfinllc.com

           reply	other threads:[~2009-03-10 16:20 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <d853ebb60903100212h67282cfck99a097a4530c4e6a@mail.gmail.com>]

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=20090310162009.GA31499@merfinllc.com \
    --to=aaron@merfinllc.com \
    --cc=linux-btrfs@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=siddhartha.swaroop@greenturtles.in \
    /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