]> git.ipfire.org Git - thirdparty/grub.git/commit
btrfs: Add zstd support to grub btrfs
authorNick Terrell <terrelln@fb.com>
Mon, 19 Nov 2018 19:20:08 +0000 (11:20 -0800)
committerDaniel Kiper <daniel.kiper@oracle.com>
Mon, 26 Nov 2018 22:10:11 +0000 (23:10 +0100)
commit386128648606a3aa6ae7108d1c9af52258202279
treefc2b76fbcd047e8f2c799b1d7b88226b9a7d75ef
parent461f1d8af1820623dfc1e1e62c6f9f24c33793ba
btrfs: Add zstd support to grub btrfs

- Adds zstd support to the btrfs module.
- Adds a test case for btrfs zstd support.
- Changes top_srcdir to srcdir in the btrfs module's lzo include
  following comments from Daniel Kiper about the zstd include.

Tested on Ubuntu-18.04 with a btrfs /boot partition with and without zstd
compression. A test case was also added to the test suite that fails before
the patch, and passes after.

Signed-off-by: Nick Terrell <terrelln@fb.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
Makefile.util.def
grub-core/Makefile.core.def
grub-core/fs/btrfs.c
tests/btrfs_test.in
tests/util/grub-fs-tester.in