mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
dm cache policy smq: change max background work from 10240 to 4096 blocks
10240 blocks was too much, lowering this reduces the latency of copying and consumes less memory. Signed-off-by: Joe Thornber <[email protected]> Signed-off-by: Mike Snitzer <[email protected]>
This commit is contained in:
parent
64748b1645
commit
8ee18ede74
1 changed files with 1 additions and 1 deletions
|
|
@ -1789,7 +1789,7 @@ static struct dm_cache_policy *__smq_create(dm_cblock_t cache_size,
|
|||
mq->next_hotspot_period = jiffies;
|
||||
mq->next_cache_period = jiffies;
|
||||
|
||||
mq->bg_work = btracker_create(10240); /* FIXME: hard coded value */
|
||||
mq->bg_work = btracker_create(4096); /* FIXME: hard coded value */
|
||||
if (!mq->bg_work)
|
||||
goto bad_btracker;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue