Linux XFS filesystem development
 help / color / mirror / Atom feed
* shrink struct xfs_imap
@ 2026-06-01 12:43 Christoph Hellwig
  2026-06-01 12:43 ` [PATCH 1/5] xfs: cleanup xfs_imap Christoph Hellwig
                   ` (4 more replies)
  0 siblings, 5 replies; 12+ messages in thread
From: Christoph Hellwig @ 2026-06-01 12:43 UTC (permalink / raw)
  To: Carlos Maiolino; +Cc: linux-xfs

Hi all,

struct xfs_imap is embedded into struct xfs_inode and takes up
considerable space.  This series applies some relatively easy shrinkage
to it.  It it based on top of the "remove struct xfs_inode.i_ino" series.

A git tree is also available:

    git://git.infradead.org/users/hch/xfs.git xfs-shrink-imap

Gitweb:

    https://git.infradead.org/?p=users/hch/xfs.git;a=shortlog;h=refs/heads/xfs-shrink-imap

Diffstat:
 libxfs/xfs_ialloc.c    |   88 ++++++++++++++++++++-----------------------------
 libxfs/xfs_inode_buf.c |   20 +++++------
 libxfs/xfs_inode_buf.h |   13 +++----
 scrub/ialloc.c         |   11 +++---
 scrub/ialloc_repair.c  |    7 +--
 scrub/inode_repair.c   |   12 ++++--
 scrub/trace.h          |   12 +++---
 xfs_icache.c           |    2 -
 xfs_inode_item.c       |   20 +++++++----
 xfs_itable.c           |    2 -
 xfs_iunlink_item.c     |    2 -
 11 files changed, 90 insertions(+), 99 deletions(-)

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

end of thread, other threads:[~2026-06-02  5:37 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-01 12:43 shrink struct xfs_imap Christoph Hellwig
2026-06-01 12:43 ` [PATCH 1/5] xfs: cleanup xfs_imap Christoph Hellwig
2026-06-02  4:50   ` Darrick J. Wong
2026-06-01 12:43 ` [PATCH 2/5] xfs: remove im_len field in struct xfs_imap Christoph Hellwig
2026-06-02  4:43   ` Darrick J. Wong
2026-06-01 12:43 ` [PATCH 3/5] xfs: massage xfs_imap_to_bp into xfs_read_icluster Christoph Hellwig
2026-06-02  4:47   ` Darrick J. Wong
2026-06-02  5:37     ` Christoph Hellwig
2026-06-01 12:43 ` [PATCH 4/5] xfs: store an agbno in struct xfs_imap Christoph Hellwig
2026-06-02  4:49   ` Darrick J. Wong
2026-06-01 12:43 ` [PATCH 5/5] xfs: mark struct xfs_imap as __packed Christoph Hellwig
2026-06-02  4:49   ` Darrick J. Wong

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