linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Squashfs: add LZ4 compression
@ 2013-07-22  2:21 Phillip Lougher
  2013-07-22  2:21 ` [PATCH 1/2] Squashfs: add LZ4 compression support Phillip Lougher
                   ` (3 more replies)
  0 siblings, 4 replies; 21+ messages in thread
From: Phillip Lougher @ 2013-07-22  2:21 UTC (permalink / raw)
  To: linux-kernel, linux-fsdevel, linux-embedded; +Cc: Phillip Lougher

Hi

Now that LZ4 compression support is in 3.11-rc1, I have written the
following two patches for Squashfs to use it.

Phillip Lougher (2):
  Squashfs: add LZ4 compression support
  Squashfs: Add LZ4 compression configuration option

 Documentation/filesystems/squashfs.txt |    8 +-
 fs/squashfs/Kconfig                    |   15 +++
 fs/squashfs/Makefile                   |    1 +
 fs/squashfs/decompressor.c             |    7 ++
 fs/squashfs/decompressor.h             |    4 +
 fs/squashfs/lz4_wrapper.c              |  163 ++++++++++++++++++++++++++++++++
 fs/squashfs/squashfs_fs.h              |    1 +
 7 files changed, 195 insertions(+), 4 deletions(-)
 create mode 100644 fs/squashfs/lz4_wrapper.c

These patches are also available in the git tree here:

browse: https://git.kernel.org/cgit/linux/kernel/git/pkl/squashfs-lz4.git
git clone: git://git.kernel.org/pub/scm/linux/kernel/git/pkl/squashfs-lz4.git

LZ4 support has (obviously) also been added to the squashfs-tools
(Mksquashfs and Unsquashfs).  This is available from the Squashfs-tools
git repository here:

browse: https://git.kernel.org/cgit/fs/squashfs/squashfs-tools.git
git clone: git://git.kernel.org/pub/scm/fs/squashfs/squashfs-tools.git

When building the squashfs-tools edit the Makefile to enable LZ4
support (by default it is disabled).

LZ4 compression can be specified by using the -comp option, e.g.
% mksquashfs xxx img.sqsh -comp lz4

The use of LZ4 high compression can be specified using -Xhc, e.g.

% mksquashfs xxx img.sqsh -comp lz4 -Xhc

Phillip

^ permalink raw reply	[flat|nested] 21+ messages in thread
* [PATCH 0/2] Squashfs: add LZ4 compression
@ 2014-11-27  8:00 Phillip Lougher
  2014-11-27 13:37 ` Bruno Wolff III
                   ` (3 more replies)
  0 siblings, 4 replies; 21+ messages in thread
From: Phillip Lougher @ 2014-11-27  8:00 UTC (permalink / raw)
  To: linux-kernel, linux-fsdevel
  Cc: texstar, martin, guanx.bac, bruno, dave, szycha, blyons,
	tokiclover, afm404, hugochevrain, Phillip Lougher

Hi,

The following is a repost of the Squashfs LZ4 compression patches
updated to the latest -rc kernel.  These patches were originally sent
last year, but they did not receive much interest at the time.

These patches are being reposted by popular demand.  I have received
many private and public requests to repost these patches and to get
them mainlined.

My intention is to submit them in the next kernel merge window.
If you want LZ4 support in Squashfs now is a good time to publically
support the inclusion of these patches.

Phillip Lougher (2):
      Squashfs: add LZ4 compression support
      Squashfs: Add LZ4 compression configuration option

 Documentation/filesystems/squashfs.txt |    8 +-
 fs/squashfs/Kconfig                    |   15 ++++
 fs/squashfs/Makefile                   |    1 +
 fs/squashfs/decompressor.c             |    7 ++
 fs/squashfs/decompressor.h             |    4 +
 fs/squashfs/lz4_wrapper.c              |  142 ++++++++++++++++++++++++++++++++
 fs/squashfs/squashfs_fs.h              |    1 +
 7 files changed, 174 insertions(+), 4 deletions(-)
 create mode 100644 fs/squashfs/lz4_wrapper.c

These patches are also available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/pkl/squashfs-lz4.git master

Squashfs-tools 4.3 already supports LZ4 compression.

Phillip

^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2014-12-12 22:45 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-22  2:21 [PATCH 0/2] Squashfs: add LZ4 compression Phillip Lougher
2013-07-22  2:21 ` [PATCH 1/2] Squashfs: add LZ4 compression support Phillip Lougher
2013-07-22  4:35   ` Joe Perches
2013-07-22  2:21 ` [PATCH 2/2] Squashfs: Add LZ4 compression configuration option Phillip Lougher
2013-07-22  3:05 ` [PATCH 0/2] Squashfs: add LZ4 compression Gu Zheng
2013-07-22  5:07   ` Phillip Lougher
2013-07-22  6:04     ` Gu Zheng
2013-07-22 13:38       ` Phillip Lougher
2013-07-26 22:00       ` Rob Landley
2014-09-05 10:01       ` Guan, Xin
2014-09-06 20:29       ` Guan, Xin
     [not found] ` <20130723151009.GA5971@wolff.to>
2013-07-23 16:17   ` Phillip Lougher
2013-07-23 16:29     ` Bruno Wolff III
  -- strict thread matches above, loose matches on Subject: below --
2014-11-27  8:00 Phillip Lougher
2014-11-27 13:37 ` Bruno Wolff III
     [not found]   ` <CAJZww4gzTnbyB4jbFQc0N4G6GJ31pVwv-PNZtDMbUxXMoH-orQ@mail.gmail.com>
2014-11-27 16:55     ` Martin Vath
2014-12-12  7:44 ` Dave Vasilevsky
2014-12-12  8:31   ` Anthony F McInerney
2014-12-12 10:27 ` Guan Xin
     [not found] ` <CAGw_SrN6tZyXRx6pxkpnhWc2U5845HRbfzhOK5v9qkjWejFpmA@mail.gmail.com>
2014-12-12 15:56   ` Bruno Wolff III
2014-12-12 22:45     ` Phillip Lougher

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).