switch discard_policy.timeout to bool type - f2fs: run fsck when getting bad inode during GC - f2fs: stop GC when the victim becomes fully valid - f2fs: update multi-dev metadata in resize_fs - f2fs: change to use rwsem for gc_mutex - f2fs: call f2fs_balance_fs outside of locked ...
int type; /* type of discard */ unsigned int min_interval; /* used for candidates exist */ @@ -406,6 +412,7 @@ struct discard_cmd_control { unsigned int discard_urgent_util; /* utilization which issue discard proactively */ unsigned int discard_granularity; /* discard granularity */...
Expand Up @@ -1111,6 +1111,27 @@ TRACE_EVENT(f2fs_issue_discard, (unsigned long long)__entry->blklen) ); TRACE_EVENT(f2fs_issue_reset_zone, TP_PROTO(struct super_block *sb, block_t blkstart), TP_ARGS(sb, blkstart), TP_STRUCT__entry( __field(dev_t, dev) __field(block_t,...
Expand Down Expand Up @@ -1883,9 +1887,8 @@ static int issue_discard_thread(void *data) set_freezable(); do { wait_event_interruptible_timeout(*q, kthread_should_stop() || freezing(current) || dcc->discard_wake, wait_event_freezable_timeout(*q, kthread_should_stop() || dcc->...