summaryrefslogtreecommitdiff
tag nameincore-unlinked-list_2019-02-22 (7d1aba7d668bcdc318021bba61610c4945fb0c7a)
tag date2019-02-22 20:42:11 -0800
tagged byDarrick J. Wong <darrick.wong@oracle.com>
tagged objectcommit 5a9c124f40...
xfs: incore unlinked list
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. Since v2 this series has been reworked so that the iunlink code is more robust in the face of backref cache failures (since we can always fall back to the old bucket walking code), removal of the unlinked inode counts, standardization of the helper function parameter types, and fixing other review comments.