<div dir="ltr">Hi Gao Xiang,<br><br>I'm Utkal Singh — I've been sending patches to erofs-utils and the kernel erofs tree over the past few weeks. You reviewed my h_shared_count validation patch for fs/erofs/xattr.c (the v2 that switched from division to multiplication, per your feedback). I also sent the ZSTD decompression bug series (missing ret = -EIO and unvalidated frame content size), the deflate buffer overflow cap, fsck xattr verification decoupling, strdup NULL checks in lib/tar.c, and a few others.<br><br>I'm planning to propose the multi-threaded decompression project from the GSoC 2026 roadmap for my application. After working on the decompression and fsck code paths, I think I have a reasonable approach in my mind how to approach this:<br><br>Since pclusters are mostly independent units, the natural approach seems to be a thread pool where worker threads handle decompression of individual pclusters while the main thread walks the inode tree and coordinates I/O and output ordering. The tricky parts would be managing output ordering (files span multiple pclusters), handling shared pclusters correctly, and making sure the memory footprint stays reasonable with a bounded work queue. All four algorithms (LZ4, LZMA, DEFLATE, ZSTD) would need to work, and it should never be slower than the current single-threaded path.<br><br>A couple of things I'm not sure about yet:<br>- Would you prefer pthreads directly, or is there a threading abstraction you'd want to see in liberofs?<br>- Should I scope this to just --extract, or would --check parallelism also be useful?<br>- Any other design preferences I should keep in mind?<br><br>I'm planning to submit my proposal well before the March 31 deadline. If you have a few minutes to point me in the right direction, that would really help me write a stronger proposal.<br><br>Thanks again for the reviews on my earlier patches — the feedback on the h_shared_count iteration especially helped me understand the project's code style better.<br><br>Best,<br>Utkal Singh<br><a href="https://github.com/Utkal059">https://github.com/Utkal059</a><br><a href="mailto:singhutkal015@gmail.com">singhutkal015@gmail.com</a></div>