On Thu, 2009-11-19 at 20:06 +0800, Phil Schwan wrote: > Hello old friends!
Heya phik.
> I return with a gift, like an almost-forgotten
> uncle visiting from a faraway land.
Yay!
> - one task creates a "foo.working" directory, does all its work
> inside, then renames it to "foo.done"
>
> - another task polls, waiting for "foo.working" to disappear. all of
> this occurs on one node.
>
> - the problem: the rename occurred, but "foo.working" remains as a valid
> dentry!
So would this be a valid reproducer:
tty1$ mkdir foo.working
tty2$ while stat foo.working; do echo; done
tty2: [ loop continues, stating foo.working ]
tty1$ mv foo.{working,done}
Where the loop on tty2 should continue beyond the mv on tty1?
I tried the above on:
lustre: 1.8.1.50
kernel: patchless_client
build: b1_8-20090921170221-CHANGED-2.6.28-11-generic
and the loop on tty2 terminates promptly on the mv on tty1.
Maybe my reproducer is missing some detail? Does such a simple
reproducer reproduce the problem on your system?
b.
signature.asc
Description: This is a digitally signed message part
_______________________________________________ Lustre-discuss mailing list [email protected] http://lists.lustre.org/mailman/listinfo/lustre-discuss
