[OpenAFS] "afs: failed to store file (5)"
Harald Barth
haba@kth.se
Mon, 30 Mar 2009 23:41:34 +0200 (CEST)
>"afs: failed to store file (5)" now and then.
This patch is currently the best guess:
# cat STABLE14-rx-idledead-only-ignore-keepalives-20081222.patch
--- src/rx/rx.c.orig 2008-09-25 19:26:47.000000000 +0200
+++ src/rx/rx.c 2009-03-12 18:01:22.000000000 +0100
@@ -5380,7 +5380,7 @@
* idle connections) */
conn->lastSendTime = call->lastSendTime = clock_Sec();
/* Don't count keepalives here, so idleness can be tracked. */
- if (p->header.type != RX_PACKET_TYPE_ACK)
+ if ((p->header.type != RX_PACKET_TYPE_ACK) || (((struct rx_ackPacket *)rx_DataOf(p))->reason != RX_ACK_PING))
call->lastSendData = call->lastSendTime;
}
> There are lots of file accesses to the machine so I have no idea what
> causing this.
I'll leave that ...
> Anyone have an idea? Is the message above fatal or will it try again to
> save the file?
The error is returned to the user.
Harald.