Linux-BTRFS Archive on
 help / color / Atom feed
From: Josef Bacik <>
Subject: [PATCH 0/2] Reserve more space for property inheritance
Date: Thu,  7 Feb 2019 11:54:24 -0500
Message-ID: <> (raw)

We've been seeing messages on our build servers where we fail to reserve space
for the compression property and thus fail to create the property at inode
creation time.  This is because we do not pre-reserve the space, instead opting
to use NO_FLUSH which can fail transiently, and create these messages.  Instead
just pre-reserve an extra items worth of space, and use that space when we
inherit our property.  We only have the compression property right now, so we
can get away with this, and if we add any more properties we have the backup
method of doing the NO_FLUSH reservation.  However in the future we may want to
take a more nuanced approach to property space reservation if we add a bunch of
new properties.  Thanks,


             reply index

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-07 16:54 Josef Bacik [this message]
2019-02-07 16:54 ` [PATCH 1/2] btrfs: reserve space for inheriting properties Josef Bacik
2019-02-08  6:30   ` Nikolay Borisov
2019-03-22 19:11     ` David Sterba
2019-02-13 12:37   ` Filipe Manana
2019-02-07 16:54 ` [PATCH 2/2] btrfs: use the existing credit for our first prop Josef Bacik
2019-02-13 12:38   ` Filipe Manana
2019-04-26 14:29   ` David Sterba

Reply instructions:

You may reply publically 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:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Linux-BTRFS Archive on

Archives are clonable:
	git clone --mirror linux-btrfs/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-btrfs linux-btrfs/ \
	public-inbox-index linux-btrfs

Newsgroup available over NNTP:

AGPL code for this site: git clone public-inbox