SMB3 credits do match expected server values for cifs.ko

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



We had been noticing that the SMB3 credits that the cifs.ko client was
reporting on mounts to Samba (and Windows) were two less than expected
(in the new debug line displayed for SMB3 sessions in
/proc/fs/cifs/DebugData for total remaining credits remaining on the
session to the server) but it turned out the total is correct after
all   The cifs client reserves one credit for oplock and one for echo
so the number of remaining credits displayed will be two less than the
overall total of credits the client has been granted.  If you include
the two reserved credits (that the client keeps for lease and echo),
then the totals of credits that the client and server report matches.

-- 
Thanks,

Steve
--
To unsubscribe from this list: send the line "unsubscribe linux-cifs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux