Linux-BTRFS Archive on
 help / color / Atom feed
From: David Sterba <>
To: Dennis Zhou <>
Cc: David Sterba <>, Chris Mason <>,
	Josef Bacik <>,
	Omar Sandoval <>,
	Nikolay Borisov <>,,
Subject: Re: [PATCH] btrfs: discard before adding to the free space cache
Date: Thu, 2 Jan 2020 15:44:35 +0100
Message-ID: <> (raw)
In-Reply-To: <>

On Mon, Dec 09, 2019 at 11:38:46AM -0800, Dennis Zhou wrote:
> Returning free space to the free space cache lets it immediately be
> reused. So discard before returning the free space otherwise we can race
> here.
> Fixes: 55e734b728c0 ("btrfs: Don't discard unwritten extents")

Unstable commit id as the patch is still in misc-next, so I'm going to
fold the fix to the original patch. Thanks.

      parent reply index

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-09 19:38 Dennis Zhou
2019-12-09 20:01 ` Nikolay Borisov
2019-12-11  8:58 ` Johannes Thumshirn
2020-01-02 14:44 ` David Sterba [this message]

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:

* 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

Example config snippet for mirrors

Newsgroup available over NNTP:

AGPL code for this site: git clone