The generic smb2 server request handling had much more overhead than the smb1 server code path. This is fixed in master now and might be backported to release branches.
Created attachment 9493 [details] Patches for v4-1-test
Created attachment 9494 [details] Patches for v4-0-test
Comment on attachment 9493 [details] Patches for v4-1-test LGTM.
Comment on attachment 9494 [details] Patches for v4-0-test LGTM.
Re-assigning to Karolin for inclusion in 4.0.next and 4.1.next. Jeremy.
Pushed to autobuild-v4-1-test and autobuild-v4-0-test.
Pushed to v4-0-test and v4-1-test. Closing out bug report. Thanks!