[DTrace-devel] [PATCH] test: Retry umount if necessary
Nick Alcock
nick.alcock at oracle.com
Wed Dec 4 00:08:12 UTC 2024
On 3 Dec 2024, Eugene Loh via DTrace-devel uttered the following:
> 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.
No, it wouldn't. A simple sync should, though: once it returns, the bios
should have got all the way through the stack, IIRC.
--
NULL && (void)
More information about the DTrace-devel
mailing list