Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Sep 2017 18:16:16 +0300
From:      Andriy Gapon <avg@FreeBSD.org>
To:        Warner Losh <imp@bsdimp.com>
Cc:        "freebsd-arch@freebsd.org" <freebsd-arch@FreeBSD.org>
Subject:   Re: lua in zfs
Message-ID:  <fd8098c7-37dd-e66a-e528-2668203381a5@FreeBSD.org>
In-Reply-To: <CANCZdfqocwEArqntzUdwBufxa%2BNANHs6VdKJrRFwGHT8HpaFyw@mail.gmail.com>
References:  <ae7a34af-4c91-daae-e917-b98ac7fb69d9@FreeBSD.org> <CANCZdfqocwEArqntzUdwBufxa%2BNANHs6VdKJrRFwGHT8HpaFyw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 28/09/2017 16:13, Warner Losh wrote:
> Which version? Where in the tree? Can this be disabled?

It's lua 5.2.4 at the moment.  Its source code will reside in
sys/cddl/contrib/opensolaris/uts/common/fs/zfs/lua.  At run-time it will be in
zfs.ko or in kernel if it's built with ZFS option.  For time being, it's not
possible to turn it off individually, but if you don't include ZFS or any CDDL
licensed code at all, then you won't have Lua too.  But I think that it should
be possible to add a new knob specifically to compile ZFS without Lua, if
anybody wants it.

> On Thu, Sep 28, 2017 at 5:40 AM, Andriy Gapon <avg@freebsd.org> wrote:
> 
>>
>> I am going to import the upstream ZFS Channel Programs change that adds Lua
>> interpreter to ZFS kernel code.  In addition to pure Lua (no libraries) it
>> also
>> has a number of functions to interact with ZFS.  No general purpose kernel
>> access.

-- 
Andriy Gapon



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?fd8098c7-37dd-e66a-e528-2668203381a5>