From: Andrey Albershteyn <aalbersh@redhat.com>
To: util-linux@vger.kernel.org
Cc: Andrey Albershteyn <aalbersh@redhat.com>
Subject: [PATCH v2 0/3] libblkid: add FSSIZE with XFS implementation
Date: Mon, 25 Apr 2022 17:08:36 +0200 [thread overview]
Message-ID: <20220425150838.151020-1-aalbersh@redhat.com> (raw)
In discussion [1] it was suggested that adding new field FSSIZE
would be useful (size of filesystem, like in lsblk). These patches
add new FSSIZE field together with implementation for XFS.
[1]: https://bugzilla.redhat.com/show_bug.cgi?id=2064810
Changes from v1:
- Minor refactor: Make use of uint64_t, use
blkid_probe_sprintf_value()
- Add patch #3 - enable FSSIZE in blkid and add new golden output in
the tests
Andrey Albershteyn (3):
libblkid: add interface for FSSIZE field
libblkid: implement FSSIZE calculation for XFS
blkid: add FSSIZE tag with tests for XFS
libblkid/samples/superblocks.c | 2 +-
libblkid/src/blkid.h.in | 1 +
libblkid/src/superblocks/superblocks.c | 11 +++++++++++
libblkid/src/superblocks/superblocks.h | 1 +
libblkid/src/superblocks/xfs.c | 10 ++++++++++
misc-utils/blkid.c | 3 ++-
tests/expected/blkid/low-probe-xfs | 1 +
tests/expected/blkid/low-probe-xfs-v5 | 1 +
8 files changed, 28 insertions(+), 2 deletions(-)
--
2.27.0
next reply other threads:[~2022-04-25 15:09 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-25 15:08 Andrey Albershteyn [this message]
2022-04-25 15:08 ` [PATCH v2 1/3] libblkid: add interface for FSSIZE field Andrey Albershteyn
2022-04-25 15:08 ` [PATCH v2 2/3] libblkid: implement FSSIZE calculation for XFS Andrey Albershteyn
2022-04-25 15:08 ` [PATCH v2 3/3] blkid: add FSSIZE tag with tests " Andrey Albershteyn
2022-04-26 8:32 ` [PATCH v2 0/3] libblkid: add FSSIZE with XFS implementation Karel Zak
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=20220425150838.151020-1-aalbersh@redhat.com \
--to=aalbersh@redhat.com \
--cc=util-linux@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;
as well as URLs for NNTP newsgroup(s).