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

Ian Lepore ian at freebsd.org
Mon Nov 6 17:57:01 UTC 2017


On Mon, 2017-11-06 at 12:49 -0500, Allan Jude wrote:
> On 2017-11-06 12: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 think that will be a big problem for the ports team's package
> > building process, and for anyone using poudriere.
> > 
> > -- Ian
> > 
> lld is not the default on amd64 yet. So only people who have set the
> src.conf knob, or are building a platform like aarch64 that uses lld by
> default, would be impacted.
> 

Oh, right.  lld != ld.

-- Ian


More information about the freebsd-current mailing list