mbox series

[0/8] xfs: incore unlinked list

Message ID 154897667054.26065.13164381203002725289.stgit@magnolia (mailing list archive)
Headers show
Series xfs: incore unlinked list | expand

Message

Darrick J. Wong Jan. 31, 2019, 11:17 p.m. UTC
Hi all,

This new patch series refactors the existing code that handles metadata
updates to the unlinked list when adding or removing inodes from that
list.  It then adds an in-core hashtable to record which inode's
next_unlinked field points to a given inode.  This enables us to remove
any inode from the on-disk unlinked structure without having to actually
walk the entire unlinked list, which reduces overhead substantially.

If you're going to start using this mess, you probably ought to just
pull from my git trees: kernel[1], xfsprogs[2], and xfstests[3].

This is an extraordinary way to destroy everything.  Enjoy!
Comments and questions are, as always, welcome.

--D

[1] https://git.kernel.org/cgit/linux/kernel/git/djwong/xfs-linux.git/log/?h=incore-unlinked-list
[2] https://git.kernel.org/cgit/linux/kernel/git/djwong/xfsprogs-dev.git
[3] https://git.kernel.org/cgit/linux/kernel/git/djwong/xfstests-dev.git

Comments

Christoph Hellwig Feb. 1, 2019, 7:57 a.m. UTC | #1
On Thu, Jan 31, 2019 at 03:17:50PM -0800, Darrick J. Wong wrote:
> If you're going to start using this mess, you probably ought to just
> pull from my git trees: kernel[1], xfsprogs[2], and xfstests[3].

Why would we need updated xfsprogs for this?