In libsmb2 I am very aggressive about requesting credits during early session establish without problems so I am confident we could even dial this up to say 1000 credits. Though 105 might be more than sufficient. ----- Original Message ----- From: "Steve French" <smfrench@xxxxxxxxx> To: "CIFS" <linux-cifs@xxxxxxxxxxxxxxx> Sent: Thursday, 14 February, 2019 5:27:41 PM Subject: [SMB3][PATCH] request more credits during session setup We only request significantly more credits (during mount) on first session setup so we typically end up with from 43-49 credits available when mount completes - which is not enough for a large I/O to complete (if started soon after mount). We need > 64 credits. Solve this by requesting more than 2 credits on tree connect. After mount (before this patch): 43 credits (not enough for a 4MB I/O) After mount (with this patch) 105 credits (which is good, enough for two large I/Os to be issued immediately after mount) -- Thanks, Steve