Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #60598

Bug#886049: The problem with the splice() depends on the used SMB-Version

From Reiny <hackaria@web.de>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#886049: The problem with the splice() depends on the used SMB-Version
Date 2018-03-28 21:00 +0200
Message-ID <vyosF-6IO-7@gated-at.bofh.it> (permalink)
References <v3h46-7c-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


Since this Bug only appears if the file is copied from a CIFS-Share it 
now was seen that the error depends on the used SMB-Version. If the 
share is mounted with the option vers=2.0, small files can be copied 
without blocking. If a higher SMB-Version than 2.0 is used to mount the 
share, e.g. vers=2.1 or vers=3.0, the copy fails as described above. 
Capturing the network traffic with wireshark shows that the file is 
copied completely in both cases, but when the share is mounted in 
SMB-Version 2.1 the last 'Read Response' which contains all the data of 
the small file never stopps. The 'Close Request' and the 'Close 
Response' for the file do not come up until the hanging process is 
interrupted. Another difference betweent the Versions is that the 'Read 
Request' has 'Len:65536' in SMB-Version 2.1 and 'Len:4096' in 
SMB-Version 2.0. The 'Read Response' containing the data in both cases 
has the same size.

Back to linux.debian.kernel | Previous | Next | Find similar | Unroll thread


Thread

Bug#886049: The problem with the splice() depends on the used SMB-Version Reiny <hackaria@web.de> - 2018-03-28 21:00 +0200

csiph-web