diff options
author | Steve French <sfrench@us.ibm.com> | 2009-04-09 01:14:32 +0000 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2009-04-17 01:26:49 +0000 |
commit | a6ce4932fbdbcd8f8e8c6df76812014351c32892 (patch) | |
tree | 4ffe9ea3379cb3227924491c93960108cf762b96 /fs/cifs/cifsglob.h | |
parent | d9fb5c091b419e0495c50c1cce9e4cf9f7105072 (diff) | |
download | op-kernel-dev-a6ce4932fbdbcd8f8e8c6df76812014351c32892.zip op-kernel-dev-a6ce4932fbdbcd8f8e8c6df76812014351c32892.tar.gz |
[CIFS] Add support for posix open during lookup
This patch by utilizing lookup intents, and thus removing a network
roundtrip in the open path, improves performance dramatically on
open (30% or more) to Samba and other servers which support the
cifs posix extensions
Signed-off-by: Shirish Pargaonkar <shirishp@us.ibm.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/cifsglob.h')
-rw-r--r-- | fs/cifs/cifsglob.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/cifsglob.h b/fs/cifs/cifsglob.h index 7ae1986..df40ab6 100644 --- a/fs/cifs/cifsglob.h +++ b/fs/cifs/cifsglob.h @@ -350,7 +350,7 @@ struct cifsFileInfo { bool invalidHandle:1; /* file closed via session abend */ bool messageMode:1; /* for pipes: message vs byte mode */ atomic_t wrtPending; /* handle in use - defer close */ - struct semaphore fh_sem; /* prevents reopen race after dead ses*/ + struct mutex fh_mutex; /* prevents reopen race after dead ses*/ struct cifs_search_info srch_inf; }; |