All of lore.kernel.org
 help / color / mirror / Atom feed
From: Qu Wenruo <wqu@suse.com>
To: linux-btrfs@vger.kernel.org
Subject: [PATCH 0/2] btrfs-progs: mkfs: fix garbage in QGROUP_LIMIT
Date: Wed, 11 Nov 2026 09:03:23 +1030	[thread overview]
Message-ID: <cover.1794349527.git.wqu@suse.com> (raw)

Running "mkfs.btrfs -O quota" will result garbage values in QGROUP_LIMIT
items.

This is inspired by recent tree-checker changes to check QGROUP_LIMIT
and QGROUP_INFO.

And a new test case for it.

Qu Wenruo (2):
  btrfs-progs: mkfs: fix garbage in the QGROUP_LIMIT item
  btrfs-progs: tests: add test for zeroed QGROUP_LIMIT item from mkfs

 mkfs/main.c                                   |  6 ++++
 .../046-qgroup-limit-zeroed/test.sh           | 30 +++++++++++++++++++
 2 files changed, 36 insertions(+)
 create mode 100755 tests/mkfs-tests/046-qgroup-limit-zeroed/test.sh

--
2.56.0


             reply	other threads:[~2026-11-10 22:33 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-10 22:33 Qu Wenruo [this message]
2026-11-10 22:33 ` [PATCH 1/2] btrfs-progs: mkfs: fix garbage in the QGROUP_LIMIT item Qu Wenruo
2026-11-10 22:33 ` [PATCH 2/2] btrfs-progs: tests: add test for zeroed QGROUP_LIMIT item from mkfs Qu Wenruo

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.1794349527.git.wqu@suse.com \
    --to=wqu@suse.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.