Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
6f43ddcc
Commit
6f43ddcc
authored
Jul 08, 2007
by
Trond Myklebust
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
NFSv4: Improve the debugging of bad sequence id errors...
Signed-off-by:
Trond Myklebust
<
Trond.Myklebust@netapp.com
>
parent
003707c7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
1 deletion
+10
-1
fs/nfs/nfs4proc.c
fs/nfs/nfs4proc.c
+3
-1
fs/nfs/nfs4state.c
fs/nfs/nfs4state.c
+7
-0
No files found.
fs/nfs/nfs4proc.c
View file @
6f43ddcc
...
@@ -1079,7 +1079,9 @@ static struct nfs4_state *nfs4_do_open(struct inode *dir, struct path *path, int
...
@@ -1079,7 +1079,9 @@ static struct nfs4_state *nfs4_do_open(struct inode *dir, struct path *path, int
* the user though...
* the user though...
*/
*/
if
(
status
==
-
NFS4ERR_BAD_SEQID
)
{
if
(
status
==
-
NFS4ERR_BAD_SEQID
)
{
printk
(
KERN_WARNING
"NFS: v4 server returned a bad sequence-id error!
\n
"
);
printk
(
KERN_WARNING
"NFS: v4 server %s "
" returned a bad sequence-id error!
\n
"
,
NFS_SERVER
(
dir
)
->
nfs_client
->
cl_hostname
);
exception
.
retry
=
1
;
exception
.
retry
=
1
;
continue
;
continue
;
}
}
...
...
fs/nfs/nfs4state.c
View file @
6f43ddcc
...
@@ -38,6 +38,7 @@
...
@@ -38,6 +38,7 @@
* subsequent patch.
* subsequent patch.
*/
*/
#include <linux/kernel.h>
#include <linux/slab.h>
#include <linux/slab.h>
#include <linux/smp_lock.h>
#include <linux/smp_lock.h>
#include <linux/nfs_fs.h>
#include <linux/nfs_fs.h>
...
@@ -648,6 +649,12 @@ static void nfs_increment_seqid(int status, struct nfs_seqid *seqid)
...
@@ -648,6 +649,12 @@ static void nfs_increment_seqid(int status, struct nfs_seqid *seqid)
case
0
:
case
0
:
break
;
break
;
case
-
NFS4ERR_BAD_SEQID
:
case
-
NFS4ERR_BAD_SEQID
:
if
(
seqid
->
sequence
->
flags
&
NFS_SEQID_CONFIRMED
)
return
;
printk
(
KERN_WARNING
"NFS: v4 server returned a bad"
"sequence-id error on an"
"unconfirmed sequence %p!
\n
"
,
seqid
->
sequence
);
case
-
NFS4ERR_STALE_CLIENTID
:
case
-
NFS4ERR_STALE_CLIENTID
:
case
-
NFS4ERR_STALE_STATEID
:
case
-
NFS4ERR_STALE_STATEID
:
case
-
NFS4ERR_BAD_STATEID
:
case
-
NFS4ERR_BAD_STATEID
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment