diff options
author | Gao Xiang <[email protected]> | 2022-07-15 23:42:02 +0800 |
---|---|---|
committer | Gao Xiang <[email protected]> | 2022-07-21 22:55:44 +0800 |
commit | 2bfab9c0edac5f6031e8956477cd39f7162b208d (patch) | |
tree | 6a31cb1fe91c9a9b8da06cdc3a584bd53b1844b6 /lib/mpi/mpi-sub-ui.c | |
parent | 3fe96ee0f96d0b2117b0ef438e28c26655b370f8 (diff) |
erofs: record the longest decompressed size in this round
Currently, `pcl->length' records the longest decompressed length
as long as the pcluster itself isn't reclaimed. However, such
number is unneeded for the general cases since it doesn't indicate
the exact decompressed size in this round.
Instead, let's record the decompressed size for this round instead,
thus `pcl->nr_pages' can be completely dropped and pageofs_out is
also designed to be kept in sync with `pcl->length'.
Acked-by: Chao Yu <[email protected]>
Signed-off-by: Gao Xiang <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions