From: Paul Menzel <pmenzel@molgen.mpg.de>
To: Nick Terrell <terrelln@fb.com>
Cc: grub-devel@gnu.org, Daniel Kiper <dkiper@net-space.pl>,
kernel-team@fb.com, David Sterba <dsterba@suse.cz>,
linux-btrfs@vger.kernel.org
Subject: Re: [PATCH v3 0/2] btrfs: Add zstd support to grub btrfs
Date: Wed, 10 Oct 2018 09:34:44 +0200 [thread overview]
Message-ID: <c00853f9-bc05-fe91-4e58-bf77f3da8583@molgen.mpg.de> (raw)
In-Reply-To: <20181009232137.1941290-1-terrelln@fb.com>
Dear Nick,
Thank you very much for your patches.
Am 10.10.2018 um 01:21 schrieb Nick Terrell:
> This patch set imports the upstream zstd library, adds zstd support to the
> btrfs module, and adds a test case. I've also tested the patch set by storing
> my boot partition in btrfs with and without zstd compression and rebooting.
>
> The fist patch imports the files needed to support zstd decompression from
> zstd-1.3.6 as-is. It is a very large patch. In case it doesn't make it,
> I've included the commit hash and the script I used to download the files.
>
> Upstream zstd commit hash: 4fa456d7f12f8b27bd3b2f5dfd4f46898cb31c24
> Upstream zstd commit name: Merge pull request #1354 from facebook/dev
>
> ---
> #!/bin/sh -e
>
> curl -L -O https://github.com/facebook/zstd/releases/download/v1.3.6/zstd-1.3.6.tar.gz
> curl -L -O https://github.com/facebook/zstd/releases/download/v1.3.6/zstd-1.3.6.tar.gz.sha256
> sha256sum --check zstd-1.3.6.tar.gz.sha256
> tar xzf zstd-1.3.6.tar.gz
>
> SRC_LIB="zstd-1.3.6/lib"
> DST_LIB="grub-core/lib/zstd"
> rm -rf $DST_LIB
> mkdir -p $DST_LIB
> cp $SRC_LIB/zstd.h $DST_LIB/
> cp $SRC_LIB/common/*.[hc] $DST_LIB/
> cp $SRC_LIB/decompress/*.[hc] $DST_LIB/
> rm $DST_LIB/{pool.[hc],threading.[hc]}
> rm -rf zstd-1.3.6*
> echo SUCCESS!
> ---
Sorry for being ignorant, but you explain, why the library needs to be
imported and it is not enough to use that library as an external dependency?
Importing the library means, it has to be maintained in the GRUB
repository, which will result in some maintenance burden.
Kind regards,
Paul
next prev parent reply other threads:[~2018-10-10 7:34 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-10-09 23:21 [PATCH v3 0/2] btrfs: Add zstd support to grub btrfs Nick Terrell
2018-10-09 23:21 ` [PATCH v3 2/2] " Nick Terrell
2018-10-11 17:55 ` Daniel Kiper
2018-10-11 18:02 ` Nick Terrell
2018-10-10 7:34 ` Paul Menzel [this message]
2018-10-10 20:28 ` [PATCH v3 0/2] " Nick Terrell
2018-10-11 7:56 ` Paul Menzel
2018-10-11 17:22 ` Daniel Kiper
[not found] ` <20181009232137.1941290-2-terrelln@fb.com>
2018-10-11 17:31 ` [PATCH v3 1/2] Import upstream zstd-1.3.6 Daniel Kiper
2018-10-11 18:15 ` [PATCH v3 0/2] btrfs: Add zstd support to grub btrfs Daniel Kiper
2018-10-11 18:56 ` Nick Terrell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=c00853f9-bc05-fe91-4e58-bf77f3da8583@molgen.mpg.de \
--to=pmenzel@molgen.mpg.de \
--cc=dkiper@net-space.pl \
--cc=dsterba@suse.cz \
--cc=grub-devel@gnu.org \
--cc=kernel-team@fb.com \
--cc=linux-btrfs@vger.kernel.org \
--cc=terrelln@fb.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).