在 12/3/2024 2:51 PM, Chunhai Guo 写道:
Dear Chao & Jaegeuk,
Could you please help review this patch? Currently, this issue is quite
easy to reproduce in some projects.
Thanks,
> locate_dirty_segment() does not set any current active segment as a
> prefree segment. Thus, the issue described below
locate_dirty_segment() does not set any current active segment as a
prefree segment. Thus, the issue described below may occur:
Step 1: During a checkpoint, add_discard_addrs() does not handle the
current active 'segment X' with 0 valid blocks (and non-zero discard
blocks). As a result, no struct