From patchwork Tue Feb 8 15:19:36 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sage Weil X-Patchwork-Id: 541111 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p18FIlkE032301 for ; Tue, 8 Feb 2011 15:18:48 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754837Ab1BHPSi (ORCPT ); Tue, 8 Feb 2011 10:18:38 -0500 Received: from cobra.newdream.net ([66.33.216.30]:35286 "EHLO cobra.newdream.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754782Ab1BHPSg (ORCPT ); Tue, 8 Feb 2011 10:18:36 -0500 Received: from cobra.newdream.net (localhost [127.0.0.1]) by cobra.newdream.net (Postfix) with ESMTP id 5CBFBBC72C; Tue, 8 Feb 2011 07:19:36 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=newdream.net; h=date:from:to:cc :subject:in-reply-to:message-id:references:mime-version: content-type; q=dns; s=newdream.net; b=frxlQNxmga2FzRs/rVCL+WpRq ZxhaAXynHX14JYU7LvQYDEtZTx5kvdPIM/fDV37Rg50RrsiBlrcdJAdkJrqnPY/d xX+N//3FHt+lANQOx/qUiDt/Dkqrkby0esxKIXah/bv4W7kjVbwhIrVOpfJ2jwau 8i1/wQ2aWQsbCuqS4c= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=newdream.net; h=date:from :to:cc:subject:in-reply-to:message-id:references:mime-version: content-type; s=newdream.net; bh=68sBnhUo4YZbTExx8AFy7AnLCyM=; b=Ihkjg8HfnzR7dD4eTu2KhMoHqm/8HqvrIFOIvwDi/BfdVFJpoKqcKxHKtuV3c gFM/p/sWFea6AkKzzYsUuALhwnMnQdMxzM2FPDdbkrY+4KbAd07zZNYXQYkuougd gKNq7RD1X88dzUX+TG+syQlgaerjqTJDSN5cSKomull5Pc= Received: by cobra.newdream.net (Postfix, from userid 1031) id 41913BC75B; Tue, 8 Feb 2011 07:19:36 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by cobra.newdream.net (Postfix) with ESMTP id 2D931BC72C; Tue, 8 Feb 2011 07:19:36 -0800 (PST) Date: Tue, 8 Feb 2011 07:19:36 -0800 (PST) From: Sage Weil To: Chris Dunlop cc: linux-btrfs@vger.kernel.org, ceph-devel@vger.kernel.org Subject: Re: WARNING: at fs/btrfs/inode.c:2143 btrfs_orphan_commit_root+0x7f/0x9b In-Reply-To: <20110208073732.GA13060@onthe.net.au> Message-ID: References: <20110204084808.GA3814@onthe.net.au> <1296830292.2408.0.camel@wido-desktop> <20110207062306.GB25062@onthe.net.au> <20110207063102.GD25062@onthe.net.au> <20110207073911.GB16034@onthe.net.au> <20110208073732.GA13060@onthe.net.au> MIME-Version: 1.0 Sender: linux-btrfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-btrfs@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Tue, 08 Feb 2011 15:18:48 +0000 (UTC) diff --git a/src/os/FileStore.cc b/src/os/FileStore.cc index dc78451..d5530c5 100644 --- a/src/os/FileStore.cc +++ b/src/os/FileStore.cc @@ -865,7 +865,7 @@ int FileStore::_detect_fs() dout(0) << "mount btrfs SNAP_CREATE_V2 got " << r << " " << strerror_r(-r, buf, sizeof(buf)) << dendl; if (r == 0 || errno == EEXIST) { dout(0) << "mount btrfs SNAP_CREATE_V2 is supported" << dendl; - btrfs_snap_create_v2 = true; + //btrfs_snap_create_v2 = true; // clean up r = ::ioctl(fd, BTRFS_IOC_SNAP_DESTROY, &vol_args);