Skip to content
Commit 76c7bfb3 authored by Jaegeuk Kim's avatar Jaegeuk Kim
Browse files

f2fs: flush stale issued discard candidates



Sometimes, I could observe # of issuing_discard to be 1 which blocks background
jobs due to is_idle()=false.
The only way to get out of it was to trigger gc_urgent. This patch avoids that
by checking any candidates as done in the list.

Signed-off-by: default avatarJaegeuk Kim <jaegeuk@kernel.org>
parent 72691af6
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment