Re: Timeouts copying large files to a Samba server with Btrfs

2015-12-26 Thread ronnie sahlberg
That does not look good. See if you can find something in the samba logs on the server. Look for messages about long running VFS operations and/or client disconnecting wile a file is open for writing. The CIFS/SMB protocol has hard real-time requirements in the windows client redirector which le

Re: Timeouts copying large files to a Samba server with Btrfs

2015-12-26 Thread Piotr Pawłow
Hello, My guess is that the Samba server process submits too much queued buffers at once to be written to disk, then blocks on waiting for this, and the whole operation ends up taking so long, that it doesn't get back to the client in time. I've seen something similar. I could reproduce it easi

Timeouts copying large files to a Samba server with Btrfs

2015-12-19 Thread Roman Mamedov
Hello, Sometimes when I copy large files (the latest case was with a 13 GB file) to a Btrfs-residing share on a Samba file server (using Thunar file manager), the copy process fails around the end with following messages in dmesg on the client: [7699154.504380] CIFS VFS: sends on sock 88010d4