* [PATCH] SQUASHME: DEVONLY: nfs41: improve nfs41_sequence_done debug message on NFS4ERR_DELAY
@ 2010-06-16 16:36 Benny Halevy
0 siblings, 0 replies; only message in thread
From: Benny Halevy @ 2010-06-16 16:36 UTC (permalink / raw)
To: linux-nfs
Note: this message was actually seen during the June 2010 Bakeathon.
Apparently we do get to this state unexpectedly.
Signed-off-by: Benny Halevy <bhalevy@panasas.com>
---
fs/nfs/nfs4proc.c | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/fs/nfs/nfs4proc.c b/fs/nfs/nfs4proc.c
index e12d153..6b266dd 100644
--- a/fs/nfs/nfs4proc.c
+++ b/fs/nfs/nfs4proc.c
@@ -440,7 +440,11 @@ static void nfs41_sequence_done(struct nfs_client *clp,
/* Do not free slot if retried while operation was in progress */
if (res->sr_status == -NFS4ERR_DELAY) {
- printk("WARNING: %s: Operation in progress: please report to pnfs@linux-nfs.org if you saw this message\n", __func__);
+ tbl = &clp->cl_session->fc_slot_table;
+ printk("WARNING: %s: Operation in progress slot=%d seq=%d highest_used_slotid=%d: "
+ "please report to pnfs@linux-nfs.org if you saw this message\n",
+ __func__, res->sr_slotid, tbl->slots[res->sr_slotid].seq_nr,
+ tbl->highest_used_slotid);
return;
}
out:
--
1.6.4.4
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2010-06-16 16:36 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-06-16 16:36 [PATCH] SQUASHME: DEVONLY: nfs41: improve nfs41_sequence_done debug message on NFS4ERR_DELAY Benny Halevy
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.