lkml.org 
[lkml]   [2022]   [Nov]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] f2fs: init discard policy after thread wakeup
Date
HI Chao,
>> set_freezable();
>>
>> do {
>
> if (!atomic_read(&dcc->discard_cmd_cnt))
> wait_ms = dpolicy.max_interval;

dpolicy has not been initialized for the first time, and the value in the stack is unstable.

Thx,
Yangtao

\
 
 \ /
  Last update: 2022-11-23 17:08    [W:0.064 / U:0.488 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site