projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
64748b1
)
dm cache policy smq: change max background work from 10240 to 4096 blocks
author
Joe Thornber
<ejt@redhat.com>
Thu, 9 Nov 2017 16:16:56 +0000
(11:16 -0500)
committer
Mike Snitzer
<snitzer@redhat.com>
Fri, 10 Nov 2017 20:45:04 +0000
(15:45 -0500)
10240 blocks was too much, lowering this reduces the latency of copying
and consumes less memory.
Signed-off-by: Joe Thornber <ejt@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/dm-cache-policy-smq.c
patch
|
blob
|
history
diff --git
a/drivers/md/dm-cache-policy-smq.c
b/drivers/md/dm-cache-policy-smq.c
index
99fae81
..
58be846
100644
(file)
--- a/
drivers/md/dm-cache-policy-smq.c
+++ b/
drivers/md/dm-cache-policy-smq.c
@@
-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;