Skip to contentSkip to conversation

Squashfs: performance enhancement patches

PATCH New Phillip Lougher 1 participant 1 message Nov 20, 2013

lore
Share & tools
lore
#0 lore raw

cover Squashfs: performance enhancement patches

Hi,

This is the latest version of the performance improvement patches.

Patch 3/7 is a V2 of the percpu patch following review.

If there are no further review comments/objections I intend to get these merged.

Any objections, then please object now.

Thanks

Phillip

Minchan Kim (1):
squashfs: Enhance parallel I/O

Phillip Lougher (6):
Squashfs: Refactor decompressor interface and code
Squashfs: Add multi-threaded decompression using percpu variables (V2)
Squashfs: Generalise paging handling in the decompressors
Squashfs: Restructure squashfs_readpage()
Squashfs: Directly decompress into the page cache for file data
Squashfs: Check stream is not NULL in decompressor_multi.c

 fs/squashfs/Kconfig                     |  72 ++++++++++++++++++++++++++++++++++++++++++++
 fs/squashfs/Makefile                    |   5 ++++
 fs/squashfs/block.c                     |  36 ++++++++++++----------
 fs/squashfs/cache.c                     |  28 +++++++++++++----
 fs/squashfs/decompressor.c              |  59 +++++++++++++++++++++++++-----------
 fs/squashfs/decompressor.h              |  24 ++++++---------
 fs/squashfs/decompressor_multi.c        | 198 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 fs/squashfs/decompressor_multi_percpu.c |  97 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 fs/squashfs/decompressor_single.c       |  85 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 fs/squashfs/file.c                      | 142 +++++++++++++++++++++++++++++++++++++++++++-------------------------------------------
 fs/squashfs/file_cache.c                |  38 +++++++++++++++++++++++
 fs/squashfs/file_direct.c               | 173 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 fs/squashfs/lzo_wrapper.c               |  47 +++++++++++++----------------
 fs/squashfs/page_actor.c                | 100 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 fs/squashfs/page_actor.h                |  81 +++++++++++++++++++++++++++++++++++++++++++++++++
 fs/squashfs/squashfs.h                  |  20 +++++++++++--
 fs/squashfs/squashfs_fs_sb.h            |   4 +--
 fs/squashfs/super.c                     |  10 +++----
 fs/squashfs/xz_wrapper.c                | 105 ++++++++++++++++++++++++++++++++++++----------------------------
 fs/squashfs/zlib_wrapper.c              |  64 ++++++++++++++++-----------------------
 20 files changed, 1145 insertions(+), 243 deletions(-)
 create mode 100644 fs/squashfs/decompressor_multi.c
 create mode 100644 fs/squashfs/decompressor_multi_percpu.c
 create mode 100644 fs/squashfs/decompressor_single.c
 create mode 100644 fs/squashfs/file_cache.c
 create mode 100644 fs/squashfs/file_direct.c
 create mode 100644 fs/squashfs/page_actor.c
 create mode 100644 fs/squashfs/page_actor.h