From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756169AbZBZPML (ORCPT ); Thu, 26 Feb 2009 10:12:11 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754144AbZBZPL5 (ORCPT ); Thu, 26 Feb 2009 10:11:57 -0500 Received: from rcsinet12.oracle.com ([148.87.113.124]:46160 "EHLO rgminet12.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754027AbZBZPL4 (ORCPT ); Thu, 26 Feb 2009 10:11:56 -0500 Subject: [GIT PULL] Btrfs updates for 2.6.29-rc From: Chris Mason To: Linus Torvalds , linux-kernel Content-Type: text/plain Date: Thu, 26 Feb 2009 10:11:36 -0500 Message-Id: <1235661096.4631.6.camel@think.oraclecorp.com> Mime-Version: 1.0 X-Mailer: Evolution 2.24.1 Content-Transfer-Encoding: 7bit X-Source-IP: acsmt701.oracle.com [141.146.40.71] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090204.49A6B12F.01CA:SCFSTAT928724,ss=1,fgs=0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org [resend, with an address for Linus that didn't come out of an ancient address book ] Hello everyone, We've had good results in testing Josef's initial enospc support for btrfs. This mainly deals with better accounting of the data extents that have been allocated for delalloc, and properly returning enospc for new data writes that can't possibly succeed. There is some metadata enospc support as well, but there is more work to be done in that area. Because this code changes the time at which some deep call chains are done, it also cuts down on the btrfs stack usage. Linus, if you pull the master branch of: git://git.kernel.org/pub/scm/linux/kernel/git/mason/btrfs-unstable.git You'll find: Josef Bacik (2): Btrfs: add better -ENOSPC handling Btrfs: try committing transaction before returning ENOSPC b/fs/btrfs/btrfs_inode.h | 8 + b/fs/btrfs/ctree.h | 40 ++++++-- b/fs/btrfs/extent-tree.c | 57 ++++++++++-- b/fs/btrfs/file.c | 16 ++- b/fs/btrfs/inode.c | 62 +++---------- b/fs/btrfs/ioctl.c | 6 - fs/btrfs/extent-tree.c | 215 +++++++++++++++++++++++++++++++++++++++++++---- 7 files changed, 318 insertions(+), 86 deletions(-)