tag name | realtime-groups_2022-11-09 (27bd4379d544a830b33f6d26addd6e98d67d45d4) |
tag date | 2022-11-09 19:10:32 -0800 |
tagged by | Darrick J. Wong <djwong@kernel.org> |
tagged object | commit ad8ec8504f... |
xfsprogs: shard the realtime section
Right now, the realtime section uses a single pair of metadata inodes to
store the free space information. This presents a scalability problem
since every thread trying to allocate or free rt extents have to lock
these files. It would be very useful if we could begin to tackle these
problems by sharding the realtime section, so create the notion of
realtime groups, which are similar to allocation groups on the data
section.
While we're at it, define a superblock to be stamped into the start of
each rt section. This enables utilities such as blkid to identify block
devices containing realtime sections, and helpfully avoids the situation
where a file extent can cross an rtgroup boundary.
The best advantage for rtgroups will become evident later when we get to
adding rmap and reflink to the realtime volume, since the geometry
constraints are the same for rt groups and AGs. Hence we can reuse all
that code directly.
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEEUzaAxoMeQq6m2jMV+H93GTRKtOsFAmNsa6gACgkQ+H93GTRK
tOsFvg//VkVzKqKN74hKpOQcjyB7FK7XU93k4HzOnPIPBMJOXIKkwUZCyn2plw84
GbD2Ad3brco8fFqe0c4je6PDpP/zzUwSHhDXbzktTXlcBbsLeBP368HS1ELP4Rjc
TY3obMc+Ial7Ir5sApgu+8W2DKt+kz5HWp9Mli0hg3uKkrho8DxY5DWMQP83KT6J
vEd1Z87QCMpu0IbFTyLKjVUO9qXaE/B9vnDxqMHWNVQezgvFp/jThViQrnu+cHdH
OboltAQVM6Vi8WFNVr1IqBLL8iVval4MANkvNRvTKR6sy2KSDxu72DQ9/CLmpj2H
AY2tU8pX8iUSZIdhRm6cUslU1GSg9/T2biR+AAXsMnhGE/Vq3i0ZWHszS9IZNLwQ
W9C6d9dxCb/Ws7I5T7yXFlVaNBPSQU3fG6iqwXtyHYsjKQ48AYfjUzPd/W2yUw2A
kQ8g6LM9xCLCVInnajMMYYsrliXWf6fIvLoqo01pjv6Ot0RgIY6oiXA1sBgLuR1z
o1jobDvkEvLiqyc76G6Gc5Y9EiSXTI+92XTHLwZBUScSp3tUFwiLuFyM/MXgy9uq
gCQrASCnY97CL3meGnYXt9zhLXUGLRGyAA3V1C7CygZFEf+PUlvv2Xh9hVCeSdtl
XxrFBEsWnVMMV+mVhQBbSgGNiEFE/63PF+j7TCznTNe6QhdODt4=
=bsow
-----END PGP SIGNATURE-----