public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCHSET] xfsprogs: more random bug fixes
@ 2025-01-14 21:40 Darrick J. Wong
  2025-01-14 21:40 ` [PATCH 1/5] xfs_db: improve error message when unknown btree type given to btheight Darrick J. Wong
                   ` (4 more replies)
  0 siblings, 5 replies; 12+ messages in thread
From: Darrick J. Wong @ 2025-01-14 21:40 UTC (permalink / raw)
  To: aalbersh, djwong; +Cc: linux-xfs, hch

Hi all,

This is a grab bag of random fixes targetting xfsprogs 6.13.  The first three
patches are bug fixes.  The fourth patch tells gcc to initialize automatic
variables to zero, which should avoid stack content disclosure and reduce
unpredictable behavior due to uninitialized variables.  The fifth patch adds a
"-r concurrency=" option to mkfs.xfs so that we can try to format enough
rtgroups to minimize contention on rtgroup metadata.

If you're going to start using this code, I strongly recommend pulling
from my git trees, which are linked below.

This has been running on the djcloud for months with no problems.  Enjoy!
Comments and questions are, as always, welcome.

--D

xfsprogs git tree:
https://git.kernel.org/cgit/linux/kernel/git/djwong/xfsprogs-dev.git/log/?h=more-random-fixes
---
Commits in this patchset:
 * xfs_db: improve error message when unknown btree type given to btheight
 * mkfs: fix parsing of value-less -d/-l concurrency cli option
 * m4: fix statx override selection if /usr/include doesn't define it
 * build: initialize stack variables to zero by default
 * mkfs: allow sizing realtime allocation groups for concurrency
---
 configure.ac            |    1 
 db/btheight.c           |    6 ++
 include/builddefs.in    |    2 -
 m4/package_libcdev.m4   |    2 -
 m4/package_sanitizer.m4 |   14 +++++
 man/man8/mkfs.xfs.8.in  |   28 +++++++++
 mkfs/xfs_mkfs.c         |  144 +++++++++++++++++++++++++++++++++++++++++++++--
 7 files changed, 190 insertions(+), 7 deletions(-)


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2025-01-15  5:26 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-14 21:40 [PATCHSET] xfsprogs: more random bug fixes Darrick J. Wong
2025-01-14 21:40 ` [PATCH 1/5] xfs_db: improve error message when unknown btree type given to btheight Darrick J. Wong
2025-01-15  5:19   ` Christoph Hellwig
2025-01-14 21:40 ` [PATCH 2/5] mkfs: fix parsing of value-less -d/-l concurrency cli option Darrick J. Wong
2025-01-15  5:20   ` Christoph Hellwig
2025-01-14 21:41 ` [PATCH 3/5] m4: fix statx override selection if /usr/include doesn't define it Darrick J. Wong
2025-01-15  5:20   ` Christoph Hellwig
2025-01-14 21:41 ` [PATCH 4/5] build: initialize stack variables to zero by default Darrick J. Wong
2025-01-15  5:21   ` Christoph Hellwig
2025-01-15  5:26     ` Darrick J. Wong
2025-01-14 21:41 ` [PATCH 5/5] mkfs: allow sizing realtime allocation groups for concurrency Darrick J. Wong
2025-01-15  5:22   ` Christoph Hellwig

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox