[OpenAFS-port-freebsd] Client deadlock?
Benjamin Kaduk
kaduk@MIT.EDU
Thu, 31 Mar 2011 21:36:00 -0400 (EDT)
On Thu, 31 Mar 2011, Garrett Wollman wrote:
>
> It turns out that even dd(1) hangs it nearly immediately:
>
> $ dd if=/dev/zero of=test bs=64k count=1048576
> load: 0.04 cmd: dd 7375 [afsslp] 17.63r 0.01u 0.45s 0% 1088k
> load: 0.03 cmd: dd 7375 [afsslp] 21.97r 0.01u 0.45s 0% 1088k
Assuming I can do math correctly, that's creating a 64G file; it looks
like bonnie++ by default will use something like a 2G test file. Since
your cache is roughly 1.5G, I am going to go out on a limb and surmise
that write-on-close() is working okay but earlier writes due to cache
starvation are not.
Which is kind of unfortunate.
-Ben Kaduk