Messages in this thread | | | Subject | ping //Re: [PATCH v2 0/2] squashfs: Add the mount parameter "threads=" | From | Xiaoming Ni <> | Date | Fri, 26 Aug 2022 14:19:55 +0800 |
| |
ping
On 2022/8/16 9:00, Xiaoming Ni wrote: > Currently, Squashfs supports multiple decompressor parallel modes. However, this > mode can be configured only during kernel building and does not support flexible > selection during runtime. > > In the current patch set, the mount parameter "threads=" is added to allow users > to select the parallel decompressor mode and configure the number of decompressors > when mounting a file system. > > v2: fix warning: sparse: incorrect type in initializer (different address spaces) > Reported-by: kernel test robot <lkp@intel.com> > > v1: https://lore.kernel.org/lkml/20220815031100.75243-1-nixiaoming@huawei.com/ > ---- > > Xiaoming Ni (2): > squashfs: add the mount parameter theads=<single|multi|percpu> > squashfs: Allows users to configure the number of decompression > threads. > > fs/squashfs/Kconfig | 24 ++++++++-- > fs/squashfs/decompressor_multi.c | 32 ++++++++------ > fs/squashfs/decompressor_multi_percpu.c | 39 ++++++++++------- > fs/squashfs/decompressor_single.c | 23 ++++++---- > fs/squashfs/squashfs.h | 39 ++++++++++++++--- > fs/squashfs/squashfs_fs_sb.h | 4 +- > fs/squashfs/super.c | 77 ++++++++++++++++++++++++++++++++- > 7 files changed, 192 insertions(+), 46 deletions(-) >
| |