summaryrefslogtreecommitdiff
tag namermap-speedups_2021-09-17 (fdb342edc33f13054bcc895bd6c6b518bdb0b1c4)
tag date2021-09-17 18:55:55 -0700
tagged byDarrick J. Wong <djwong@kernel.org>
tagged objectcommit a17640128f...
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+H93GTRKtOsFAmFFRysACgkQ+H93GTRK tOsYLw//ZS55D0pCPIySFmn2/ntE7cASwrXISbyBnvYsGOfYLTSG44qXSRRC6EQ+ /u1WnIL+lZMPI4mQvC9a+ICbOdexOzybSaCpUwTTOmTKKVAu3VHRnBcRehlKQDP5 a9oFvKH6JQNq9klxqMDZSv11SiHVf+R8ZESZBI97jSdYxCfJFAWClGpDZSBxylYo Es3cTer4+DZHyvGc3UnrLez3VSgbGzhUp4jqmJx0c42BCmdGg2YEQcx9IjOD4PnX hOPLixHNOowPZyKjezXQnG5LoRB3PS36ql/3/J0Uw6S+Gw8UFVsf+u7t/PLRdRAt KozeUKHe7WkdsB0zqqrvjwkW5HBgUdiBUWOUrFO852m9hyPhwwCX7U7k3ICU3FIX OtN4zj53VE/cmLmkWJRP2XohT8le3i9HlikYqFsKinOLId6Zr7afwDe8cgNVF4Dr X3S5XQapEz2wDGWtqNwvgaan2Va8pNk0nJvzEPEaqRFlZrbhB94t9yoH8IGdkMFq dlKAXopsZXgwIbjmZaWVEAMyH5XYT6R0hmynea70iwNVZSIVg/E+L1oroBZLh0DL 7I4cKQ0fuprJAU0iffSNE5Vh9Q0S3e4jOXuIC3I4VKmr5cHpiuxNtxl3LJIiYRLw /DygZWXOybZ+2x3/6RBbn6oFiawis713fKh8XSy7prfBCRwiksk= =CH6N -----END PGP SIGNATURE-----