4/18/2023 0 Comments Huawei configuration decompressor+ WARN_ON(stream->avail_decomp > msblk->max_thread_num) ĭiff -git a/fs/squashfs/squashfs_fs_sb.h b/fs/squashfs/squashfs_fs_sb. WARN_ON(stream->avail_decomp > MAX_DECOMPRESSOR) * Let's allocate new decomp -160,7 +160,7 static struct decomp_stream *get_decomp_stream(struct squashfs_sb_info *msblk, + if (stream->avail_decomp >= msblk->max_thread_num) if (stream->avail_decomp >= MAX_DECOMPRESSOR) * let's wait for releasing decomp from other users. * If there is no available decomp and already full, Basic commands for configuring Huawei switches - Huawei Enterprise Support Community. +++ -144,7 +144,7 static struct decomp_stream *get_decomp_stream(struct squashfs_sb_info *msblk, You can also set the number of threads by setting threads= ofīool "Use percpu multiple decompressors for parallel I/O"ĭiff -git a/fs/squashfs/decompressor_multi.c b/fs/squashfs/decompressor_multi.c This decompressor implementation uses up to two parallelĭecompressors per core. +++ -99,7 +99,9 config SQUASHFS_DECOMP_MULTI Stores the bootstrap program (ROM monitor), the configuration register, and the startupRom-0 Configuration Decompressor (LZS). Therefore, the mount parameter needs to be added to allow users toĬonfigure the number of threads as required.įs/squashfs/decompressor_multi.c | 4 ++-įs/squashfs/super.c | 45 ++++++++++++++++++++++++++++-Ĥ files changed, 38 insertions(+), 16 deletions(-)ĭiff -git a/fs/squashfs/Kconfig b/fs/squashfs/Kconfig The maximum number of threads in the decompressor_multi.c file is fixedĪnd cannot be adjusted according to user needs. Subject: squashfs: Allows users to configure the number of decompression threads.ĭate: Mon, 11:11:00 +0800 Xiaoming Ni archive mirror help / color / mirror / Atom feed From: Xiaoming Ni Squashfs: Allows users to configure the number of decompression threads.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |