Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Jan 2024 20:43:12 +0000
From:      bugzilla-noreply@freebsd.org
To:        fs@FreeBSD.org
Subject:   [Bug 276050] pijul clone on ZFS (Error: No error: 0 (os error 0))
Message-ID:  <bug-276050-3630-JCsqz7tfwp@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-276050-3630@https.bugs.freebsd.org/bugzilla/>

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

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276050

Mark Johnston <markj@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |cs@FreeBSD.org

--- Comment #8 from Mark Johnston <markj@FreeBSD.org> ---
(In reply to Mike from comment #7)
Well, clearly there is a bug in pijul, since it says "No error" but exits
anyway.

If I run the example under truss, I see:

posix_fallocate(0xb,0x0,0x300000)                ERR#22 'Invalid argument'

and indeed, ZFS does not implement fallocate on FreeBSD.  There is a Linux
implementation, but FreeBSD has ".vop_allocate = VOP_EINVAL".

Assuming that this is the root cause of the problem, either pijul needs to
tolerate such errors from posix_fallocate() if possible, or OpenZFS needs to
implement fallocate on FreeBSD.

cc'ed the devel/pijul maintainer in the hopes that this can be worked around
somehow. :)

-- 
You are receiving this mail because:
You are the assignee for the bug.

help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-276050-3630-JCsqz7tfwp>