summaryrefslogtreecommitdiffstats
path: root/drivers/lightnvm/pblk.h
diff options
context:
space:
mode:
authorJavier González <javier@cnexlabs.com>2017-10-13 14:46:11 +0200
committerJens Axboe <axboe@kernel.dk>2017-10-13 16:34:57 +0200
commit3627896a4b12ea6bb9e0ff77724a24f53726db2d (patch)
treefe974a2d18caa8fa4f0db94db67d272f26b32d79 /drivers/lightnvm/pblk.h
parentlightnvm: pblk: remove checks on mempool alloc. (diff)
downloadlinux-3627896a4b12ea6bb9e0ff77724a24f53726db2d.tar.xz
linux-3627896a4b12ea6bb9e0ff77724a24f53726db2d.zip
lightnvm: pblk: use constant for GC max inflight
Use a constant to set the maximum number of inflight GC requests allowed. Signed-off-by: Javier González <javier@cnexlabs.com> Signed-off-by: Matias Bjørling <m@bjorling.me> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to '')
-rw-r--r--drivers/lightnvm/pblk.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/lightnvm/pblk.h b/drivers/lightnvm/pblk.h
index 60edcda0fc7f..baa6a633990f 100644
--- a/drivers/lightnvm/pblk.h
+++ b/drivers/lightnvm/pblk.h
@@ -816,7 +816,7 @@ int pblk_recov_setup_rq(struct pblk *pblk, struct pblk_c_ctx *c_ctx,
* pblk gc
*/
#define PBLK_GC_MAX_READERS 8 /* Max number of outstanding GC reader jobs */
-#define PBLK_GC_W_QD 128 /* Queue depth for inflight GC write I/Os */
+#define PBLK_GC_RQ_QD 128 /* Queue depth for inflight GC requests */
#define PBLK_GC_L_QD 4 /* Queue depth for inflight GC lines */
#define PBLK_GC_RSV_LINE 1 /* Reserved lines for GC */