Welcome, Guest. Please login or register.

Author Topic: smbfs 1.73 large write fix  (Read 3507 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline PiruTopic starter

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show all replies
    • http://www.iki.fi/sintonen/
smbfs 1.73 large write fix
« on: July 21, 2009, 11:22:49 PM »
Good news everyone!

I was finally bugged into tracking down that nasty smbfs problem with new samba servers: Large write operations would fail (and you'd get "object in use" I/O error).

I'm expecting a smbfs 1.74 release shortly, but in the meanwhile here is the patch for anyone to apply against 1.73:

http://www.sintonen.fi/temp/smbfs-writebraw-fix.diff
« Last Edit: July 22, 2009, 08:26:16 AM by Piru »
 

Offline PiruTopic starter

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show all replies
    • http://www.iki.fi/sintonen/
Re: smbfs 1.73 large write fix
« Reply #1 on: July 22, 2009, 08:01:12 AM »
Quote from: Karlos;516515
How large is large, btw?

Larger than maximum transmit size minus some header bytes. The maximum transmit size is negotiated between the client and the server at connect time. With my linux boxen the size was close to 16KB.

See bugs #2771803 and #1219910.

Quote
I have a samba share on my linux box that my amigas use and I've never ran into any issues with large files (100MiB+)

Note that this is the size of the single write operation, not the size of the file.

Also, you're probably running old version of samba. The old versions were more lax about the client bugs.

Quote
Or is it only for samba shares hosted on the amiga?

No. smbfs is a client, not a server.
« Last Edit: July 22, 2009, 08:27:11 AM by Piru »
 

Offline PiruTopic starter

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show all replies
    • http://www.iki.fi/sintonen/
Re: smbfs 1.73 large write fix
« Reply #2 on: September 04, 2009, 09:20:28 PM »