From: Josef Bacik <josef@toxicpanda.com>
To: linux-btrfs@vger.kernel.org, kernel-team@fb.com
Subject: [PATCH 0/2][v3] Some leaked root fixes
Date: Thu, 3 Sep 2020 14:29:49 -0400 [thread overview]
Message-ID: <cover.1599157686.git.josef@toxicpanda.com> (raw)
v2->v3:
- Reworked the pretty print for roots so it's a little cleaner, also made it so
only reloc roots spit out the offset, since that's the only time we care.
- Added Nikolay's reviewed-by for the first patch.
--- Original email ---
Hello,
These are two fixes for a leaked root problem I noticed a while ago. One is the
actual leaked root fix, the other is to add a pretty print for the leaked root
message, as figuring out that some giant %llu number was the data reloc root is
not a feat meant for humans. Thanks,
Josef
Josef Bacik (2):
btrfs: free fs roots on failed mount
btrfs: pretty print leaked root name
fs/btrfs/disk-io.c | 8 ++++++--
fs/btrfs/print-tree.c | 39 +++++++++++++++++++++++++++++++++++++++
fs/btrfs/print-tree.h | 3 +++
3 files changed, 48 insertions(+), 2 deletions(-)
--
2.24.1
next reply other threads:[~2020-09-03 18:30 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-03 18:29 Josef Bacik [this message]
2020-09-03 18:29 ` [PATCH 1/2] btrfs: free fs roots on failed mount Josef Bacik
2020-09-07 12:50 ` David Sterba
2020-09-03 18:29 ` [PATCH 2/2] btrfs: pretty print leaked root name Josef Bacik
2020-09-07 12:28 ` David Sterba
2020-09-09 7:37 ` David Sterba
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=cover.1599157686.git.josef@toxicpanda.com \
--to=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