There have been several improvements for the fileserver after 4.17.0rc1, we should backport them to 4.17.0rc2, as they fix some real bugs (they are referenced by this meta bug report) and also important performance improvements.
This bug was referenced in samba master: 5adf051228b56c05fe1205e7a865a497b58e81d9
Created attachment 17475 [details] Patches for v4-17-test
This bug was referenced in samba v4-17-test: 7b338dc6f57a04e70c58993795e94d143cd08c43 f82ef749180e08620d3b77c11baea079d848b133 851d7768c30f60c981e8d6472874c056daf3846c c12a8d50837d5073d89753a400b5ffbcdf3321e7 691d0fad1c351f415bcd2fc45b66b615d29a7f29 ca8fab6e92f08113e04edfc202924c24a973b5c1 76672394ba55a881429c57e3e049cb3f648b4be9 adcf069e71e6eb632d1c6e8c97a813b85c0b5825 496b9b45c385d5b89a1d335f157d73824db47004 33d00d7e8819b70861294bbc90726e0306443adb deb009404a5e6ec6499b3df5aec94ff34675d063 c940c9eae9487840b077742a793d3631b2b8f027 8d09dc1691250e88d3bf11ea2a51b40d0dce8373 8031584e1eb776bafe3f29efbebadfa9bd2666fb 3a944329c31ac665940c3122547d01c60d6010a2 274c8a06b48ec2492d48c13ab759d7932c38898c 8ce26e1e4be3d14b1b501257b7a949b012519ddf 0dd880abd96977235499665a6a8e55e708f767ed 74dc7cb556ac0815bc22ab05225e25b61c011415 c0f9b5f41e478ea2d1019adb6cb085c8ed2b490a d1ba2845a2aa5ed2a88d1a9cb6d121eba0656764 9a9b953a9d7af81f0144b73331e6b8043ae954cc 7e9fb8e9fbe7bf46660e042a1fb631bccf3f95a8 5f68afbd016e4941a7d2b306938998b75d88ef42 879b42bd6f4d1d64879735dc8e1b6438dd4c24b3 d0a9046c80eb07529bf6e9696d8e8a557bb4e434 66bc141ddfb467854591e1b2beb812900ce66cef 38740ceea809eae60706e08faf9da0e98b0b65f1 161324f57583f8993a15205ec697b7aa38496d71 bd5c67555816623e1946b4539168af6591609d42 37ce01d6ed2b90d728a16131d7b982159d580052 0ffe593bdabf8ab15e8419b8f2ea1c62d768fd86 fc3f035e368907e750ac1fe33ad6eaf912d9de3a b8a5f41b79046368f0a95a09cd10a1c70dfea086 7b4e11f155445d78cdf0090dc7030991934aa36f c2a69553872d7f733faf06a7a757ffc53d773506 efb488977f563217e88ca1b3b11a78a07859e8c0 c8c2cbca60bb64a38e38908fedd6e058baeb30e2 cc9caffa60eac044f00653b1ef194184563b8952 5326bbac232def53753e6bb83dc84b4ad7bb42a2 b9a1441238f17c3873938bc78de215cd607c36f7 dd18624395dc8a7cd2cfc9527961ae2f1375b744 4b1f56aa04a3e0a1ffbfda7f596d7a5762813a56 b71871a193d38e8f3e9e4da426b11ed402f4438b 25071a1f4ee1d4893078514c7355abb681ff2695 4ec4806b35ac3ecb3fc96d9acf8ff476dcd0fa4c 5d703111ff242366d426b2ff78f7aaf567f744c4 40476e8389933bb70a71faf3559006f8c2789f7c 3ec21a8dd9832e9af6ee648a69f4c9294f49d081 783e6e7520cee485b89122a45ea7782090088f67 912ee2c92d410167f8a01afd26517ca5763bb617 80c090c87b2898af7f793e1289efd66b279a0e5c 9e32b03e1eec07485582c6c0ea67f2f3a7ea89fd ff46ee6ad51be64264f706cf7965ad178033ddd2 c027512a6128f40ba9f533b624535ccfdba1260b
This bug was referenced in samba v4-17-stable (Release samba-4.17.0rc2): 7b338dc6f57a04e70c58993795e94d143cd08c43 f82ef749180e08620d3b77c11baea079d848b133 851d7768c30f60c981e8d6472874c056daf3846c c12a8d50837d5073d89753a400b5ffbcdf3321e7 691d0fad1c351f415bcd2fc45b66b615d29a7f29 ca8fab6e92f08113e04edfc202924c24a973b5c1 76672394ba55a881429c57e3e049cb3f648b4be9 adcf069e71e6eb632d1c6e8c97a813b85c0b5825 496b9b45c385d5b89a1d335f157d73824db47004 33d00d7e8819b70861294bbc90726e0306443adb deb009404a5e6ec6499b3df5aec94ff34675d063 c940c9eae9487840b077742a793d3631b2b8f027 8d09dc1691250e88d3bf11ea2a51b40d0dce8373 8031584e1eb776bafe3f29efbebadfa9bd2666fb 3a944329c31ac665940c3122547d01c60d6010a2 274c8a06b48ec2492d48c13ab759d7932c38898c 8ce26e1e4be3d14b1b501257b7a949b012519ddf 0dd880abd96977235499665a6a8e55e708f767ed 74dc7cb556ac0815bc22ab05225e25b61c011415 c0f9b5f41e478ea2d1019adb6cb085c8ed2b490a d1ba2845a2aa5ed2a88d1a9cb6d121eba0656764 9a9b953a9d7af81f0144b73331e6b8043ae954cc 7e9fb8e9fbe7bf46660e042a1fb631bccf3f95a8 5f68afbd016e4941a7d2b306938998b75d88ef42 879b42bd6f4d1d64879735dc8e1b6438dd4c24b3 d0a9046c80eb07529bf6e9696d8e8a557bb4e434 66bc141ddfb467854591e1b2beb812900ce66cef 38740ceea809eae60706e08faf9da0e98b0b65f1 161324f57583f8993a15205ec697b7aa38496d71 bd5c67555816623e1946b4539168af6591609d42 37ce01d6ed2b90d728a16131d7b982159d580052 0ffe593bdabf8ab15e8419b8f2ea1c62d768fd86 fc3f035e368907e750ac1fe33ad6eaf912d9de3a b8a5f41b79046368f0a95a09cd10a1c70dfea086 7b4e11f155445d78cdf0090dc7030991934aa36f c2a69553872d7f733faf06a7a757ffc53d773506 efb488977f563217e88ca1b3b11a78a07859e8c0 c8c2cbca60bb64a38e38908fedd6e058baeb30e2 cc9caffa60eac044f00653b1ef194184563b8952 5326bbac232def53753e6bb83dc84b4ad7bb42a2 b9a1441238f17c3873938bc78de215cd607c36f7 dd18624395dc8a7cd2cfc9527961ae2f1375b744 4b1f56aa04a3e0a1ffbfda7f596d7a5762813a56 b71871a193d38e8f3e9e4da426b11ed402f4438b 25071a1f4ee1d4893078514c7355abb681ff2695 4ec4806b35ac3ecb3fc96d9acf8ff476dcd0fa4c 5d703111ff242366d426b2ff78f7aaf567f744c4 40476e8389933bb70a71faf3559006f8c2789f7c 3ec21a8dd9832e9af6ee648a69f4c9294f49d081 783e6e7520cee485b89122a45ea7782090088f67 912ee2c92d410167f8a01afd26517ca5763bb617 80c090c87b2898af7f793e1289efd66b279a0e5c 9e32b03e1eec07485582c6c0ea67f2f3a7ea89fd ff46ee6ad51be64264f706cf7965ad178033ddd2 c027512a6128f40ba9f533b624535ccfdba1260b