[Devel] [PATCH hci-8.1 0/2] ext4: replace the vz prefetch test_bit patch with the mainstream one
Konstantin Khorenko
khorenko at virtuozzo.com
Tue Sep 22 16:31:24 MSK 2026
On Tue, 22 Sep 2026 15:27:46 +0200, Konstantin Khorenko wrote:
> ext4: replace the vz prefetch test_bit patch with the mainstream one
>
> The vz patch 3fff8724d1f89 ("fs/ext4: do not run test_and_set_bit on
> every prefetch scan") went in for VSTOR-137147 to stop
> ext4_mb_prefetch() from doing a locked test_and_set_bit on bb_state of
> every group it walks. The bit is set-only, yet the atomic RMW took the
> ext4_group_info cache line exclusive on every pass and bounced it
> between allocating threads.
>
> [...]
Applied to branch-rh10-6.12.0-211.52.1.22.x.vz10-ovz, will be released in rh10-6.12.0-211.52.1.22.2.vz10, thanks!
[1/2] Revert "fs/ext4: do not run test_and_set_bit on every prefetch scan"
https://bitbucket.org/virtuozzocore/vzkernel.vzs/commits/52ea9a9ab754
[2/2] ext4: avoid RWM atomic in EXT4_MB_GRP_TEST_AND_SET_READ
https://bitbucket.org/virtuozzocore/vzkernel.vzs/commits/7ecb7901c306
--
Konstantin Khorenko <khorenko at virtuozzo.com>
More information about the Devel
mailing list