linux-erofs.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/3] erofs-utils: prepare for per-(sub)file compression strategies
@ 2021-05-22  4:34 Gao Xiang
  2021-05-22  4:35 ` [PATCH v2 1/3] erofs-utils: prepare for per-(sub)file compress strategies Gao Xiang
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Gao Xiang @ 2021-05-22  4:34 UTC (permalink / raw)
  To: linux-erofs; +Cc: Gao Xiang

Hi all,

This patchset mainly provides a new helper z_erofs_get_max_pclusterblks()
to prepare for per-(sub)file compression strategies, valid pclustersize
can be returned according to detailed data type or access patterns.

In order to do that, compression header is now generated on the per-file
basis as well, which will be also needed for parallel compression in
the future.

randomizing pclusterblks support in debugging mode is also added to
randomize each pcluster size for big pcluster selftest.

Thanks,
Gao Xiang

Gao Xiang (3):
  erofs-utils: prepare for per-(sub)file compress strategies
  erofs-utils: introduce --enable-debug
  erofs-utils: support randomizing pclusterblks in debugging mode

 configure.ac           | 12 ++++++
 include/erofs/config.h |  3 ++
 lib/compress.c         | 85 ++++++++++++++++++++++++++++--------------
 mkfs/main.c            | 50 ++++++++++++++++---------
 4 files changed, 105 insertions(+), 45 deletions(-)

-- 
2.20.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-05-22  4:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-22  4:34 [PATCH v2 0/3] erofs-utils: prepare for per-(sub)file compression strategies Gao Xiang
2021-05-22  4:35 ` [PATCH v2 1/3] erofs-utils: prepare for per-(sub)file compress strategies Gao Xiang
2021-05-22  4:35 ` [PATCH v2 2/3] erofs-utils: introduce --enable-debug Gao Xiang
2021-05-22  4:35 ` [PATCH v2 3/3] erofs-utils: support randomizing pclusterblks in debugging mode Gao Xiang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).