Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Jan 2024 09:27:36 -0700
From:      Warner Losh <imp@bsdimp.com>
To:        "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net>
Cc:        hackers@freebsd.org
Subject:   Re: libsa xzfs_fsops?
Message-ID:  <CANCZdfoQmzET%2BBSLPrGBuT8HdqS_toywGQh6jRZu5xPFvVmp_Q@mail.gmail.com>
In-Reply-To: <r3oqq116-61n4-q004-34s4-5134rr0337n5@yvfgf.mnoonqbm.arg>
References:  <r3oqq116-61n4-q004-34s4-5134rr0337n5@yvfgf.mnoonqbm.arg>

next in thread | previous in thread | raw e-mail | index | archive | help
--00000000000043e755060f26badc
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

On Tue, Jan 16, 2024 at 3:16=E2=80=AFAM Bjoern A. Zeeb <
bzeeb-lists@lists.zabbadoz.net> wrote:

> how hard would it be to add xzfs_fsops to libsa like we already have for
> gz and bz2 and lz4(undocumented?) ?
>

It wouldn't be horribly hard, though those hooks are for filesystems full
of files that
are compressed, which is funky to generate and not well supported after
boot.

Patches to fix the lz4 oversight are welcome. The loader was a dumping
ground for many years, and it grew lz4 support during this time.

It would also almost certainly not be in the x86 BIOS boot path: that's
already too large and so it's closed to new features (at least by default,
you can customize it however you want).

Warner

--00000000000043e755060f26badc
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr"><br></div><br><div class=3D"gmail_quote">=
<div dir=3D"ltr" class=3D"gmail_attr">On Tue, Jan 16, 2024 at 3:16=E2=80=AF=
AM Bjoern A. Zeeb &lt;<a href=3D"mailto:bzeeb-lists@lists.zabbadoz.net">bze=
eb-lists@lists.zabbadoz.net</a>&gt; wrote:<br></div><blockquote class=3D"gm=
ail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,=
204,204);padding-left:1ex">how hard would it be to add xzfs_fsops to libsa =
like we already have for<br>
gz and bz2 and lz4(undocumented?) ?<br></blockquote><div><br></div><div>It =
wouldn&#39;t be horribly hard, though those hooks are for filesystems full =
of files that</div><div>are compressed, which is funky to generate and not =
well supported after boot.</div><div><br></div><div>Patches to fix the lz4 =
oversight are welcome. The loader was a dumping ground for many years, and =
it grew lz4 support during this time.</div><div><br></div><div>It would als=
o almost certainly not be in the x86 BIOS boot path: that&#39;s already too=
 large and so it&#39;s closed to new features (at least by default, you can=
 customize it however you want).</div><div><br></div><div>Warner=C2=A0<br><=
/div></div></div>

--00000000000043e755060f26badc--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfoQmzET%2BBSLPrGBuT8HdqS_toywGQh6jRZu5xPFvVmp_Q>