All of lore.kernel.org
 help / color / mirror / Atom feed
From: Lukas Herbolt <lukas@herbolt.com>
To: djwong@kernel.org, sandeen@sandeen.net, aalbersh@kernel.org
Cc: linux-xfs@vger.kernel.org, Lukas Herbolt <lukas@herbolt.com>
Subject: [RFC PATCH 0/1] Add default config file for mkfs.xfs
Date: Thu, 14 May 2026 16:37:16 +0200	[thread overview]
Message-ID: <20260514143716.893814-2-lukas@herbolt.com> (raw)

Hi all,
The default values cannot always satisfy everybody and users/packagers should
be able to override defaults without the need of specifying configuration file
on command line. It was previously discussed in here [1]. 

The proposed patch adds /etc/mkfs.xfs.conf where the default values can be set.
It also lightly changes the default behavior for -l/-d/-r concurrency allowing 
now to be set to -1 to keep autodetection on SSDs.

[1]
https://lore.kernel.org/linux-xfs/84c8a5e5-938d-4745-996d-4237009c9cc5@sandeen.net/

Lukas Herbolt (1):
  xfsprogs: mkfs.xfs add default configuration file.

 include/builddefs.in |  1 +
 mkfs/Makefile        |  3 ++
 mkfs/mkfs.xfs.conf   | 50 ++++++++++++++++++++++++++++++
 mkfs/xfs_mkfs.c      | 72 +++++++++++++++++++++++++++++++++++++++-----
 4 files changed, 119 insertions(+), 7 deletions(-)
 create mode 100644 mkfs/mkfs.xfs.conf

-- 
2.54.0


             reply	other threads:[~2026-05-14 14:38 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-05-14 14:37 Lukas Herbolt [this message]
2026-05-14 14:37 ` [RFC PATCH 1/1] xfsprogs: mkfs.xfs add default configuration file Lukas Herbolt
2026-05-14 15:21   ` Carlos Maiolino
2026-05-14 16:05     ` Eric Sandeen
2026-05-14 16:29       ` Darrick J. Wong
2026-05-14 22:27       ` Dave Chinner
2026-05-14 16:27   ` Darrick J. Wong
2026-05-14 23:35   ` Dave Chinner
2026-05-14 15:05 ` [RFC PATCH 0/1] Add default config file for mkfs.xfs Darrick J. Wong

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=20260514143716.893814-2-lukas@herbolt.com \
    --to=lukas@herbolt.com \
    --cc=aalbersh@kernel.org \
    --cc=djwong@kernel.org \
    --cc=linux-xfs@vger.kernel.org \
    --cc=sandeen@sandeen.net \
    /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.