[DTrace-devel] [PATCH] test: Retry umount if necessary

Eugene Loh eugene.loh at oracle.com
Tue Dec 3 21:06:04 UTC 2024


On 12/3/24 15:31, Nick Alcock wrote:

> On 3 Dec 2024, eugene loh said:
>
>> From: Eugene Loh <eugene.loh at oracle.com>
>>
>> The io tests tst.local.sh and tst.wait.sh fail with some frequency,
>> with error messages like "umount: $iodir: target is busy."
> Can you just do a umount -l, then? The only caveat is that while this
> will disconnect the mount from the mount tree immediately, the *actual
> umount* might happen arbitrarily later -- is that a problem?

Maybe?  In test/triggers/doio.sh, you can see what's going on.  In 
essence, we want to flush operations out.  A lazy umount might not do 
that?  I'm not sure.



More information about the DTrace-devel mailing list