[PATCH] SQUASHME: DEVONLY: nfs41: improve nfs41_sequence_done debug message on NFS4ERR_DELAY

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxx>
---
 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@xxxxxxxxxxxxx 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@xxxxxxxxxxxxx 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

--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux