diff options
| author | Pavel Shilovsky <[email protected]> | 2014-06-25 11:28:57 +0400 |
|---|---|---|
| committer | Steve French <[email protected]> | 2014-08-02 01:23:03 -0500 |
| commit | bed9da0213f2174719b68012bd60735a11cfe244 (patch) | |
| tree | 3a88a92dcf884d1a31a8896e9513a5124cbddebb /drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c | |
| parent | e374d90f8a7693f24635bca9e5d56f3775bb36e2 (diff) | |
CIFS: Use multicredits for SMB 2.1/3 reads
If we negotiate SMB 2.1 and higher version of the protocol and
a server supports large read buffer size, we need to consume 1
credit per 65536 bytes. So, we need to know how many credits
we have and obtain the required number of them before constructing
a readdata structure in readpages and user read.
Reviewed-by: Shirish Pargaonkar <[email protected]>
Signed-off-by: Pavel Shilovsky <[email protected]>
Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c')
0 files changed, 0 insertions, 0 deletions