Linux Btrfs filesystem development
 help / color / mirror / Atom feed
From: David Sterba <dsterba@suse.cz>
To: Josef Bacik <josef@toxicpanda.com>
Cc: linux-btrfs@vger.kernel.org, kernel-team@fb.com
Subject: Re: [PATCH v2 2/2] btrfs: account for new extents being deleted in total_bytes_pinned
Date: Thu, 17 Dec 2020 17:41:40 +0100	[thread overview]
Message-ID: <20201217164140.GR6430@twin.jikos.cz> (raw)
In-Reply-To: <0826b647d5dd12f8134614e05519156d9351f2c1.1608137123.git.josef@toxicpanda.com>

On Wed, Dec 16, 2020 at 11:46:54AM -0500, Josef Bacik wrote:
> My recent set of patches to reduce lock contention on the extent root by
> running delayed refs resulted in a regression in generic/371.

As you write that often in patches, I want to point out that references
to 'my recent patches doing something' are too vague and don't stand the
test of time. Reading the patch in a year won't give me much clue what
patches are that. Also as patches don't get merged in the order they've
sent, 'recent' could be referring to something that would be in fact
committed after this patch, making it more confusing and hard to find.

If the patches are yet to be merged, referencing by subject should be
sufficient, Filipe has been doing that and I find it really convenient
to get more background to understand the changes or put them to context
in case there's some dependency.

> This test
> fallocate()'s the fs until it's full, deletes all the files, and then
> tries to fallocate() until full again.
> 
> Before my delayed refs patches we would run all of the delayed refs

And another one. If there's a hard patchset-to-patchset dependency and
they get merged in that order, that's fine to refer to it like that and
we've been doing that. The difference is that the patches are serialized
in git and going back in git history will end up in the referred patches
eventually. Unlike when it's still in the mailinglist, but still a more
specific reference is better.

      parent reply	other threads:[~2020-12-17 16:44 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-16 16:46 [PATCH v2 0/2] ->total_bytes_pinned fixes for early ENOSPC issues Josef Bacik
2020-12-16 16:46 ` [PATCH v2 1/2] btrfs: handle ->total_bytes_pinned inside the delayed ref itself Josef Bacik
2020-12-16 16:46 ` [PATCH v2 2/2] btrfs: account for new extents being deleted in total_bytes_pinned Josef Bacik
2020-12-17 12:54   ` Nikolay Borisov
2020-12-17 16:41   ` 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:
  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=20201217164140.GR6430@twin.jikos.cz \
    --to=dsterba@suse.cz \
    --cc=josef@toxicpanda.com \
    --cc=kernel-team@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