Re: [HEADS UP] posix_fallocate support removed from ZFS, lld affected

From: Andriy Gapon <avg_at_FreeBSD.org>
Date: Tue, 7 Nov 2017 20:12:13 +0200
On 06/11/2017 19:26, Ian Lepore wrote:
> On Mon, 2017-11-06 at 17:40 +0200, Andriy Gapon wrote:
>> From UPDATING:
>> The naive and non-compliant support of posix_fallocate(2) in ZFS
>> has been removed as of r325320.  The system call now returns EINVAL
>> when used on a ZFS file.  Although the new behavior complies with the
>> standard, some consumers are not prepared to cope with it.
>> One known victim is lld prior to r325420.
>>
> 
> It just popped into my head... does this mean that kernels running
> r325320+ on systems using ZFS will be unable to host build jails for
> earlier versions / branches because lld will fail in the jail?

I am afraid that this is true.

> I think that will be a big problem for the ports team's package
> building process, and for anyone using poudriere.

I hope that lld is not that widely used now.
But I admit that I put the cart before the horse.
I didn't expect that posix_fallocate is used in the development toolchain and I
didn't try to check for it.


-- 
Andriy Gapon
Received on Tue Nov 07 2017 - 17:12:25 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:13 UTC