OpenAFS Master Repository branch, master, updated. BP--openafs-stable-1_6_x-204-g565ab7a
Gerrit Code Review
gerrit@openafs.org
Sun, 3 Oct 2010 07:50:14 -0700 (PDT)
The following commit has been merged in the master branch:
commit 565ab7aa8e751c06d03c3ab0034915572c29ef7c
Author: Jeffrey Altman <jaltman@your-file-system.com>
Date: Thu Sep 16 01:06:22 2010 +0200
Windows: Ensure that cm_NameI errors are acted upon promptly
There are many cases in the SMB server where an error from cm_NameI()
was either ignored or not acted upon until several other operations
are performed that could result in the same error being repeated.
This is a mistake which did not have negative side effects until
additional checks for callback status were added recently.
At present, if a CM_ERROR_ACCESS error is returned and ignored,
subsequent attempts to operate on the same cm_scache_t will result
in additional queries to the file server that will also end in an
abort response. This can trigger the file server to delay responses
to the client.
This patchset ensures that all cm_NameI() errors are acted upon
promptly.
LICENSE MIT
Change-Id: Ie334b624cc2b28f2c2a37787b5edef9d37cdb041
Reviewed-on: http://gerrit.openafs.org/2887
Tested-by: Jeffrey Altman <jaltman@openafs.org>
Reviewed-by: Jeffrey Altman <jaltman@openafs.org>
src/WINNT/afsd/rpc_srvsvc.c | 6 ++-
src/WINNT/afsd/smb.c | 7 ++++
src/WINNT/afsd/smb3.c | 67 ++++++++++++++++++++++++++++++++-----------
3 files changed, 61 insertions(+), 19 deletions(-)
--
OpenAFS Master Repository