https://bugzilla.kernel.org/show_bug.cgi?id=219484
--- Comment #4 from Chao Yu (c...@kernel.org) --- Do we have any chance to apply this and try to check whether it can fix this bug? From: Chao Yu <c...@kernel.org> --- fs/f2fs/segment.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/fs/f2fs/segment.c b/fs/f2fs/segment.c index 10ec69cbae68..86a22447b89b 100644 --- a/fs/f2fs/segment.c +++ b/fs/f2fs/segment.c @@ -1314,11 +1314,6 @@ static int __submit_discard_cmd(struct f2fs_sb_info *sbi, unsigned long flags; bool last = true; - if (len > max_discard_blocks) { - len = max_discard_blocks; - last = false; - } - (*issued)++; if (*issued == dpolicy->max_requests) last = true; -- 2.40.1 -- You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug. _______________________________________________ Linux-f2fs-devel mailing list Linux-f2fs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel