[Samba] Re: Re: major cifs bug in 2.6.19+?

Akemi Yagi amyagi at gmail.com
Mon Apr 30 21:24:14 GMT 2007

On Tue, 01 May 2007 06:42:30 +1200, Jason Haar wrote:

> That's a great explanation - makes a lot of sense now!
> However, this problem doesn't affect us under 2.6.18 - only the newer
> kernels. Maybe something was broken in the cifs kernel module in newer
> releases?
>> I reported this as a bug a while ago, but it apparently hasn't been
>> fixed yet.  See https://bugzilla.samba.org/show_bug.cgi?id=4066.

kernel 2.6.18 comes with cifs 1.45 and 2.6.19 has cifs 1.46.  Here is the
part of the CHANGES file pertaining to changes from 1.45 to newer versions.


Verison 1.48
Fix mtime bouncing around from local idea of last write times to remote time.
Fix hang (in i_size_read) when simultaneous size update of same remote file
on smp system corrupts sequence number. Do not reread unnecessarily partial page
(which we are about to overwrite anyway) when writing out file opened rw.
When DOS attribute of file on non-Unix server's file changes on the server side
from read-only back to read-write, reflect this change in default file mode
(we had been leaving a file's mode read-only until the inode were reloaded).
Allow setting of attribute back to ATTR_NORMAL (removing readonly dos attribute
when archive dos attribute not set and we are changing mode back to writeable
on server which does not support the Unix Extensions).

Version 1.47
Fix oops in list_del during mount caused by unaligned string.
Fix file corruption which could occur on some large file
copies caused by writepages page i/o completion bug.
Seek to SEEK_END forces check for update of file size for non-cached

Version 1.46
Support deep tree mounts.  Better support OS/2, Win9x (DOS) time stamps.
Allow null user to be specified on mount ("username="). Do not return
EINVAL on readdir when filldir fails due to overwritten blocksize
(fixes FC problem).  Return error in rename 2nd attempt retry (ie report
if rename by handle also fails, after rename by path fails, we were
not reporting whether the retry worked or not). Fix NTLMv2 to
work to Windows servers (mount with option "sec=ntlmv2").


I hope the bug report you have filed gets picked up by the samba team very


More information about the samba mailing list