Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756024AbZCJQU2 (ORCPT ); Tue, 10 Mar 2009 12:20:28 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753955AbZCJQUN (ORCPT ); Tue, 10 Mar 2009 12:20:13 -0400 Received: from quackingmoose.com ([63.73.180.143]:56998 "EHLO penguin.merfinllc.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752390AbZCJQUM (ORCPT ); Tue, 10 Mar 2009 12:20:12 -0400 Date: Tue, 10 Mar 2009 09:20:09 -0700 From: Aaron Straus To: Siddhartha Swaroop Cc: linux-kernel@vger.kernel.org, linux-btrfs@vger.kernel.org Subject: Re: Unable to create the previously deleted snapshot or subvolume Message-ID: <20090310162009.GA31499@merfinllc.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.11 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1219 Lines: 38 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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/