diff options
author | Steve French <sfrench@us.ibm.com> | 2009-02-19 23:32:45 -0500 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2009-02-20 22:37:09 -0500 |
commit | c3b2a0c640bff7df85d79fb4f89674949a267ec2 (patch) | |
tree | ed36e11454123d276929b1c470a27409ccf957bb /fs/cifs/CHANGES | |
parent | 69765529d701c838df19ea1f5ad2f33a528261ae (diff) |
[CIFS] improve posix semantics of file create
Samba server added support for a new posix open/create/mkdir operation
a year or so ago, and we added support to cifs for mkdir to use it,
but had not added the corresponding code to file create.
The following patch helps improve the performance of the cifs create
path (to Samba and servers which support the cifs posix protocol
extensions). Using Connectathon basic test1, with 2000 files, the
performance improved about 15%, and also helped reduce network traffic
(17% fewer SMBs sent over the wire) due to saving a network round trip
for the SetPathInfo on every file create.
It should also help the semantics (and probably the performance) of
write (e.g. when posix byte range locks are on the file) on file
handles opened with posix create, and adds support for a few flags
which would have to be ignored otherwise.
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/CHANGES')
-rw-r--r-- | fs/cifs/CHANGES | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/fs/cifs/CHANGES b/fs/cifs/CHANGES index 1cfa72ef1f3..72063f5e56b 100644 --- a/fs/cifs/CHANGES +++ b/fs/cifs/CHANGES | |||
@@ -8,7 +8,9 @@ top of the share. Fix problem in 2.6.28 resolving DFS paths to | |||
8 | Samba servers (worked to Windows). Fix rmdir so that pending search | 8 | Samba servers (worked to Windows). Fix rmdir so that pending search |
9 | (readdir) requests do not get invalid results which include the now | 9 | (readdir) requests do not get invalid results which include the now |
10 | removed directory. Fix oops in cifs_dfs_ref.c when prefixpath is not reachable | 10 | removed directory. Fix oops in cifs_dfs_ref.c when prefixpath is not reachable |
11 | when using DFS. | 11 | when using DFS. Add better file create support to servers which support |
12 | the CIFS POSIX protocol extensions (this adds support for new flags | ||
13 | on create, and improves semantics for write of locked ranges). | ||
12 | 14 | ||
13 | Version 1.55 | 15 | Version 1.55 |
14 | ------------ | 16 | ------------ |