All of lore.kernel.org
 help / color / mirror / Atom feed
* gain NVMe SQ in-flight entries #
@ 2016-07-08 23:03 Huaicheng Li
  2016-07-08 23:22 ` Keith Busch
  0 siblings, 1 reply; 3+ messages in thread
From: Huaicheng Li @ 2016-07-08 23:03 UTC (permalink / raw)


Hi all,

(1). When nvme_queue_rq() queues a new I/O to the SQ, why doesn't it
check whether the SQ is full or not?
Similarly, when nvme_process_rq() handles a CQE, it seems not checking
whether CQ is empty? Why is that?
(2). Why does nvme_queue_rq() need to call __nvme_process_cq()?? That
should be the job of interrupt handler or poll().
Anything missing here?
(3). Is there an easy way to figure out how many entries are in the
SQ? We can know where SQ_tail is in nvme_queue structure, how can the
host know where the queue's head is **immediately**?

Thanks.

Best,
Huaicheng

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-07-09  0:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-08 23:03 gain NVMe SQ in-flight entries # Huaicheng Li
2016-07-08 23:22 ` Keith Busch
2016-07-09  0:16   ` Huaicheng Li (coperd)

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.