From patchwork Fri Dec 31 15:43:41 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Itaru Kitayama X-Patchwork-Id: 442351 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 oBVIORnm017492 for ; Fri, 31 Dec 2010 18:24:32 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753026Ab0LaPnp (ORCPT ); Fri, 31 Dec 2010 10:43:45 -0500 Received: from irs1ma.bb4u.ne.jp ([202.229.9.180]:59015 "HELO irs1m.bias.ne.jp" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with SMTP id S1750923Ab0LaPno (ORCPT ); Fri, 31 Dec 2010 10:43:44 -0500 Received: (qmail 8561 invoked from network); 31 Dec 2010 15:43:41 -0000 Received: from unknown (HELO prime) (58.89.221.131) by 0 with SMTP; Sat, 01 Jan 2011 00:43:41 +0900 Date: Sat, 1 Jan 2011 00:43:41 +0900 From: Itaru Kitayama To: miaox@cn.fujitsu.com Cc: Linux Btrfs Subject: Re: [GIT PULL] [RFC PATCH 0/4] btrfs: Implement delayed directory name index insertion and deletion Message-Id: <20110101004341.667de4c4.kitayama@cl.bb4u.ne.jp> In-Reply-To: <4CF602AD.8020205@cn.fujitsu.com> References: <4CF602AD.8020205@cn.fujitsu.com> X-Mailer: Sylpheed 3.0.2 (GTK+ 2.20.1; x86_64-redhat-linux-gnu) 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.3 (demeter1.kernel.org [140.211.167.41]); Fri, 31 Dec 2010 18:24:32 +0000 (UTC) diff --git a/fs/btrfs/tree-log.c b/fs/btrfs/tree-log.c index 054744a..f26326b 100644 --- a/fs/btrfs/tree-log.c +++ b/fs/btrfs/tree-log.c @@ -3079,7 +3079,7 @@ int btrfs_recover_log_trees(struct btrfs_root *log_root_tree) path = btrfs_alloc_path(); BUG_ON(!path); - trans = btrfs_start_transaction(fs_info->tree_root, 0); + trans = btrfs_start_transaction(fs_info->tree_root, 4); wc.trans = trans; wc.pin = 1;