summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorGao Xiang <hsiangkao@linux.alibaba.com>2025-01-23 12:01:09 +0300
committerGao Xiang <hsiangkao@linux.alibaba.com>2025-01-23 12:12:11 +0300
commit8f9530aeeb4f756bdfa70510b40e5d28ea3c742e (patch)
tree2716080256c41c1c9d881496d80b9290747f6824 /tools/perf/scripts/python/syscall-counts.py
parent6e2c2342e2b608264cf763a27410295b05995191 (diff)
downloadlinux-8f9530aeeb4f756bdfa70510b40e5d28ea3c742e.tar.xz
erofs: refine z_erofs_get_extent_compressedlen()
- Set `compressedblks = 1` directly for non-bigpcluster cases. This simplifies the logic a bit since lcluster sizes larger than one block are unsupported and the details remain unclear. - For Z_EROFS_LCLUSTER_TYPE_PLAIN pclusters, avoid assuming `compressedblks = 1` by default. Instead, check if Z_EROFS_ADVISE_BIG_PCLUSTER_2 is set. It basically has no impact to existing valid images, but it's useful to find the gap to prepare for large PLAIN pclusters. Link: https://lore.kernel.org/r/20250123090109.973463-1-hsiangkao@linux.alibaba.com Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions