Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Jul 2022 11:18:31 +0930
From:      "Daniel O'Connor" <darius@dons.net.au>
To:        Felix Palmen <felix@palmen-it.de>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: VFS mount rollback for virtio 9pfs
Message-ID:  <45451C7B-7A12-420F-B6B0-19F2FA98D056@dons.net.au>
In-Reply-To: <20220715151509.d2v6kqkjsnrxtprj@nexus.home.palmen-it.de>
References:  <75ACE8B8-A41F-4742-95DA-3CFB3B97746A@dons.net.au> <20220714101214.sju2rpsngqjyuvsb@nexus.home.palmen-it.de> <BC734F39-4ECC-4B0D-A771-83763F3283BC@dons.net.au> <20220715131656.f2epy732npgbgrf5@nexus.home.palmen-it.de> <20220715151509.d2v6kqkjsnrxtprj@nexus.home.palmen-it.de>

next in thread | previous in thread | raw e-mail | index | archive | help



> On 16 Jul 2022, at 00:45, Felix Palmen <felix@palmen-it.de> wrote:
> * Felix Palmen <felix@palmen-it.de> [20220715 15:16]:
>> I tested it, successful so far as it seems! Thanks again!
> 
> Unfortunately, it doesn't work reliably yet. Trying a testport with
> poudriere logs mounted via virtfs, I got errors like these:
> 
> #v+
> /usr/bin/awk: can't open file 14a-default/2022-07-15_16h43m01s/.poudriere.jailname
> input record number 1, file 14a-default/2022-07-15_16h43m01s/.poudriere.jailname
> 
> rename: /usr/local/poudriere/data/logs/bulk/14a-default/2022-07-15_16h43m01s/.tmp-.poudriere.snap_loadavg.OV0Gxx2m to /usr/local/poudriere/data/logs/bulk/14a-default/2022-07-15_16h43m01s/.poudriere.snap_loadavg: Invalid argument
> 
> _mktemp: mkstemp failed on 14a-default/2022-07-15_16h43m01s/.tmp-.data.json.stpmwmGg: Invalid argument
> 
> mapfile_write: Missing handle
> #v-
> 
> after that, the mount is somehow broken:
> 
> # ls -l /usr/local/poudriere/data/logs/
> ls: bulk: Invalid argument

Hmm fun! :)

I did copy the tmpfs tests but they are mostly basic functional tests rather that exercising race conditions and the like.

> So, probably it's back to NFS *for now*.
> 
> Still the best attempt I've seen so far, all others I tried crashed the
> kernel on mount ;)

Thanks for testing it, I will try some more intensive tests.
Which hypervisor are you using BTW?

--
Daniel O'Connor
"The nice thing about standards is that there
are so many of them to choose from."
-- Andrew Tanenbaum




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?45451C7B-7A12-420F-B6B0-19F2FA98D056>