From: David Sterba <dsterba@suse.cz>
To: Josef Bacik <jbacik@fb.com>
Cc: linux-btrfs@vger.kernel.org
Subject: Re: [PATCH 3/3 v2] Btrfs: account for large extents with enospc
Date: Fri, 13 Feb 2015 16:44:55 +0100 [thread overview]
Message-ID: <20150213154455.GH8720@twin.jikos.cz> (raw)
In-Reply-To: <1423757811-2511-1-git-send-email-jbacik@fb.com>
On Thu, Feb 12, 2015 at 11:16:51AM -0500, Josef Bacik wrote:
> --- a/fs/btrfs/ctree.h
> +++ b/fs/btrfs/ctree.h
> @@ -198,6 +198,14 @@ static int btrfs_csum_sizes[] = { 4, 0 };
>
> #define BTRFS_DIRTY_METADATA_THRESH (32 * 1024 * 1024)
>
> +#define BTRFS_MAX_EXTENT_SIZE (128 * 1024 * 1024)
> +#define BTRFS_MAX_EXTENT_BIT 27
#include <linux/ilog2.h>
#define BTRFS_MAX_EXTENT_SHIFT ilog2(BTRFS_MAX_EXTENT_SIZE)
next prev parent reply other threads:[~2015-02-13 15:44 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-11 20:08 [PATCH 1/3] Btrfs: only adjust outstanding_extents when we do a short write Josef Bacik
2015-02-11 20:08 ` [PATCH 2/3] Btrfs: don't set and clear delalloc for O_DIRECT writes Josef Bacik
2015-02-12 4:45 ` Liu Bo
2015-02-11 20:08 ` [PATCH 3/3] Btrfs: account for large extents with enospc Josef Bacik
2015-02-12 4:36 ` Liu Bo
2015-02-12 14:53 ` Josef Bacik
2015-02-12 16:16 ` [PATCH 3/3 v2] " Josef Bacik
2015-02-13 2:06 ` Liu Bo
2015-02-13 15:44 ` David Sterba [this message]
2015-03-06 20:01 ` [PATCH 3/3] " Filipe David Manana
2015-02-12 3:52 ` [PATCH 1/3] Btrfs: only adjust outstanding_extents when we do a short write Liu Bo
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=20150213154455.GH8720@twin.jikos.cz \
--to=dsterba@suse.cz \
--cc=jbacik@fb.com \
--cc=linux-btrfs@vger.kernel.org \
/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;
as well as URLs for NNTP newsgroup(s).