| From: |
| "Darrick J. Wong" <djwong-AT-kernel.org> |
| To: |
| Christoph Hellwig <hch-AT-infradead.org> |
| Subject: |
| [PATCHBOMB v13.1] xfs: directory parent pointers |
| Date: |
| Tue, 09 Apr 2024 17:36:46 -0700 |
| Message-ID: |
| <20240410003646.GS6390@frogsfrogsfrogs> |
| Cc: |
| linux-xfs-AT-vger.kernel.org |
| Archive-link: |
| Article |
Hi everyone,
Christoph and I have been working to get the directory parent pointers
patchset into shape for merging in the next kernel cycle. This v13
release contains what I hope are the last ondisk format changes -- we've
gone back to parent pointers being xattrs attached to the child, wherein
the attr name is the dirent name, and the attr value is a handle to the
parent directory.
We've solved the pptr lookup uniqueness problem by forcing all
XFS_ATTR_PARENT attr lookups to be done on the name and value; avoided
namehash collisions on container farms by adjusting the hash function
slightly; and avoided the entire log incompat feature flag mess by
defining a permanent incompat feature for parent pointers and using
totally separate attr log item opcodes.
With that, I think this is finally ready to go.
Full versions are here:
https://git.kernel.org/pub/scm/linux/kernel/git/djwong/xf...
https://git.kernel.org/pub/scm/linux/kernel/git/djwong/xf...
--D