summaryrefslogtreecommitdiff
tag namermap-speedups_2021-12-15 (95332766b43531b57e331be58c1261817822cc55)
tag date2021-12-15 17:30:39 -0800
tagged byDarrick J. Wong <djwong@kernel.org>
tagged objectcommit d49e571d9f...
xfs: fix rmap inefficiencies
Reduce the performance impact of the reverse mapping btree when reflink is enabled by using the much faster non-overlapped btree lookup functions when we're searching the rmap index with a fully specified key. If we find the exact record we're looking for, great! We don't have to perform the full overlapped scan. For filesystems with high sharing factors this reduces the xfs_scrub runtime by a good 15%. This has been shown to reduce the fstests runtime for realtime rmap configurations by 30%, since the lack of AGs severely limits scalability. -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEUzaAxoMeQq6m2jMV+H93GTRKtOsFAmG6lr8ACgkQ+H93GTRK tOv95w//RZ7MjIlsj88C4PBZaF/BGFiyQv/G19dBRVeI8O6K1Ieo3ivCGztebYSg 9J91N3NKA92dKH+uouqi7O0hQp4jJc5OLhrIUgi1Br20i7jVfbf/tHho+YKX1CNH IeJ2hG4rtVQ6g9Fet2kIw80H2bohW1YDg9JTLVZmzT2SUoAcWg+l+1NX5es9euum S0OUxbZZdZjblvpgqQ5O6rP85qo5HqY/9Pvm6bDoQXPUP+DTEGea+AUuuZj0aVez aO57Oddmr0MYGdGCH9eyev4T/ZdFD9KvqKDVJUyhFwxaj6QCuXI/sYcOV0cja/dM 1cClRetMl2BnnTtpywo7QXUGWaSzUipdglnliFp54AaQnJGNIRQxUdn/i6ZWYjK4 T8B0bYqEWk42uK4v+gGYRzQtiPullP3G5f/y3K30BYBLlolgmlo8izkOlCFtiPqw PFkW6wXWe2Vf5ZVOb0Gsb1MSn3p+7QG597oSipd38SCNuqqfWvwceGM8IUc+vk3S +rfMeUlEE9W3w6lGM7qNnGAtkuZ64W56NhH0yieSPvrH16SQB9WocAP4PiKOJk0N CtgrZY/338oaXlk2OevoXEPpbSMTnUYFu49oQ6sTmC+wfUcSBhSrbmM3e/FdN6/I ampfttY6VcVBUQTiq0YPpqSsCCnx5bzbqWXWWsd9o15vEPO6Nvw= =OJvZ -----END PGP SIGNATURE-----