| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
No functional change.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
from int to int64.
MSDN says that SMB_SET_FILE_END_OF_FILE_INFO uses signed 64-bit integer
to specify offset, but since smbfs_smb_setfsize() has used plain int,
a value was truncated in case when offset was larger than 2G.
https://msdn.microsoft.com/en-us/library/ff469975.aspx
In particular, now `truncate -s 10G` will work correctly on the mounted
SMB share.
Reported and tested by: Eugene Grosbein <eugen at grosbein dot net>
MFC after: 1 week
|
|
|
|
|
|
|
| |
When server doesn't support this request, try to use SMB_INFO_ALLOCATION.
And use SMB_COM_QUERY_INFORMATION_DISK request as fallback.
MFC after: 2 weeks
|
|
|
|
|
|
|
|
|
| |
VM pressure. The reason is that in some codepaths pointers to stack
variables were passed from one thread to another.
In collaboration with: pho
Reported by: pho's stress2 suite
Sponsored by: iXsystems inc.
|
|
|
|
| |
Approved by: bp
|
|
|
|
| |
PR:78110
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
file servers fail to do it in the right way.
New NFLUSHWIRE flag marks pending flush request(s).
NB: not all cases covered by this commit.
Obtained from: Darwin
|
|
|
|
| |
also don't use ANSI string concatenation.
|
|
Add smbfs(CIFS) filesystem.
Userland part will be in the ports tree for a while.
Obtained from: smbfs-1.3.7-dev package.
|