From: Daniel Rosenberg <drosen@google.com>
To: Phillip Lougher <phillip@squashfs.org.uk>, linux-kernel@vger.kernel.org
Cc: adrien@schischi.me, Daniel Rosenberg <drosen@google.com>
Subject: [PATCH 0/5] Squashfs Whitelist and Compression Threshold
Date: Fri, 22 Sep 2017 14:55:03 -0700 [thread overview]
Message-ID: <20170922215508.73407-1-drosen@google.com> (raw)
These patches contain several optimizations to Squashfs. ll_rw_block is
replaced with submit_bio. readpages is implemented to support asynchronous
readahead. Uncompressed file reads are optimized, no longer requiring the
entire block to be read if the block doesn't need to be decompressed, which
greatly improves random read speeds in uncompressed files. There is a separate
set of patches to the userspace tools adding a whitelist of files to not
compress, and an ability to set a compression threshold to avoid compressing
files where there isn't a significant advantage made by compressing.
Adrien Schildknecht (5):
Squashfs: remove the FILE_CACHE option
Squashfs: refactor page_actor
Squashfs: replace buffer_head with BIO
Squashfs: implement .readpages()
Squashfs: optimize reading uncompressed data
fs/squashfs/Kconfig | 28 ---
fs/squashfs/Makefile | 3 +-
fs/squashfs/block.c | 547 ++++++++++++++++++++++++++++++++-----------
fs/squashfs/cache.c | 73 +++---
fs/squashfs/decompressor.c | 55 +++--
fs/squashfs/file.c | 137 ++++++++---
fs/squashfs/file_cache.c | 38 ---
fs/squashfs/file_direct.c | 240 +++++++++----------
fs/squashfs/lz4_wrapper.c | 29 +--
fs/squashfs/lzo_wrapper.c | 40 +---
fs/squashfs/page_actor.c | 175 +++++++++-----
fs/squashfs/page_actor.h | 84 +++----
fs/squashfs/squashfs.h | 9 +-
fs/squashfs/squashfs_fs_sb.h | 2 +-
fs/squashfs/super.c | 7 +
fs/squashfs/xz_wrapper.c | 15 +-
fs/squashfs/zlib_wrapper.c | 14 +-
17 files changed, 876 insertions(+), 620 deletions(-)
delete mode 100644 fs/squashfs/file_cache.c
--
2.14.1.821.g8fa685d3b7-goog
next reply other threads:[~2017-09-22 21:55 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-22 21:55 Daniel Rosenberg [this message]
2017-09-22 21:55 ` [PATCH 1/5] Squashfs: remove the FILE_CACHE option Daniel Rosenberg
2017-09-23 2:01 ` Phillip Lougher
2017-09-22 21:55 ` [PATCH 2/5] Squashfs: refactor page_actor Daniel Rosenberg
2017-09-22 21:55 ` [PATCH 3/5] Squashfs: replace buffer_head with BIO Daniel Rosenberg
2017-09-22 21:55 ` [PATCH 4/5] Squashfs: implement .readpages() Daniel Rosenberg
2017-09-22 21:55 ` [PATCH 5/5] Squashfs: optimize reading uncompressed data Daniel Rosenberg
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=20170922215508.73407-1-drosen@google.com \
--to=drosen@google.com \
--cc=adrien@schischi.me \
--cc=linux-kernel@vger.kernel.org \
--cc=phillip@squashfs.org.uk \
/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
all inboxes | Powered by JetHome®