tag name | realtime-rmap_2022-11-09 (dbe52479afc0ddf3b03364e95975714fa33a01a8) |
tag date | 2022-11-09 19:10:38 -0800 |
tagged by | Darrick J. Wong <djwong@kernel.org> |
tagged object | commit 7bf24fa867... |
xfs: realtime reverse-mapping support
This is the latest revision of a patchset that adds to XFS kernel
support for reverse mapping for the realtime device. This time around
I've fixed some of the bitrot that I've noticed over the past few
months, and most notably have converted rtrmapbt to use the metadata
inode directory feature instead of burning more space in the superblock.
At the beginning of the set are patches to implement storing B+tree
leaves in an inode root, since the realtime rmapbt is rooted in an
inode, unlike the regular rmapbt which is rooted in an AG block.
Prior to this, the only btree that could be rooted in the inode fork
was the block mapping btree; if all the extent records fit in the
inode, format would be switched from 'btree' to 'extents'.
The next few patches widen the reverse mapping routines to fit the
64-bit numbers required to store information about the realtime
device and establish a new b+tree type (rtrmapbt) for the realtime
variant of the rmapbt. After that are a few patches to handle rooting
the rtrmapbt in a specific inode that's referenced by the superblock.
Finally, there are patches to implement GETFSMAP with the rtrmapbt and
scrub functionality for the rtrmapbt and rtbitmap; and then wire up the
online scrub functionality. We also enhance EFIs to support tracking
freeing of realtime extents so that when rmap is turned on we can
maintain the same order of operations as the regular rmap code.
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEEUzaAxoMeQq6m2jMV+H93GTRKtOsFAmNsa64ACgkQ+H93GTRK
tOtOBA//RqSQ8uhD8lvT4urokUF72gXD/aJrnk7xj5742bbPAFeHJN993CvMfWqB
gvlI/BromUY1RUkOlA3Ae47PorXTzdfjWSiY8kTIWR033lvbRce3uhWSLrSpAoLu
pKNbNGafENV1xsj1475+hS/YFDsBdzAe7q5tLVN+s+D47hhnJn0wDSI8hEdrdnZ1
zXldSsLZNoFpETgFzmoIJ+nP0ycUDI2xl2AzMpcowwtrX5lLq6r+Femks3asxg8h
R5it7KZ9/lWenxORLbZwiATQ9HZK7i0iyxfv3AD3jv0cifvaTgXtQunvDbeQRIvO
stB58GMskR1VAtAA5pPMpZjNmCrKtLGdMbGWQNH2jDYj4MdtDe7jDDJt1AZ0sjys
NiNa5adA2rj4F9pf7mF6As/7DQiIoGLcmmG+EM4+CjUNV1BnMBbuIqrvO3W4Lwta
xqSTg8Aj8T088jkDxkkx3oYTW8MpessEYrT/8YrOBwwL3e2e6iquHSIWOuCTNbNT
9GmD/9iVHFHEG9O+GgaHCvnCaUxvUNMhtnhjwM0cyVD3r4dicXg47H9YepJRjTgK
/kI12tHQ8g5aGKrdi4PSa4TuJ+a5KBuHuOqnM6QFzHDsN0VTzlaInRQRiAfyHBms
DFetGKR+MNNfmbMUIXTAi1DSBhN8JEjRiCg36cNl4HShGinTmjU=
=3OpO
-----END PGP SIGNATURE-----