From: Christoph Hellwig <hch@lst.de> To: keith.busch@intel.com, axboe@kernel.dk Cc: linux-block@vger.kernel.org, linux-nvme@lists.infradead.org, sagi@lightbits.io, ming.l@ssi.samsung.com Subject: [PATCH 03/11] nvme_rdma: update for req_op changes Date: Wed, 8 Jun 2016 14:30:58 +0200 [thread overview] Message-ID: <1465389066-19119-4-git-send-email-hch@lst.de> (raw) In-Reply-To: <1465389066-19119-1-git-send-email-hch@lst.de> Signed-off-by: Christoph Hellwig <hch@lst.de> --- drivers/nvme/host/rdma.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/nvme/host/rdma.c b/drivers/nvme/host/rdma.c index 4edc912..e938ab6 100644 --- a/drivers/nvme/host/rdma.c +++ b/drivers/nvme/host/rdma.c @@ -1453,7 +1453,7 @@ static int nvme_rdma_queue_rq(struct blk_mq_hw_ctx *hctx, ib_dma_sync_single_for_device(dev, sqe->dma, sizeof(struct nvme_command), DMA_TO_DEVICE); - if (rq->cmd_type == REQ_TYPE_FS && (rq->cmd_flags & REQ_FLUSH)) + if (rq->cmd_type == REQ_TYPE_FS && req_op(rq) == REQ_OP_FLUSH) flush = true; ret = nvme_rdma_post_send(queue, sqe, req->sge, req->num_sge, req->need_inval ? &req->reg_wr.wr : NULL, flush); -- 2.1.4
WARNING: multiple messages have this Message-ID (diff)
From: hch@lst.de (Christoph Hellwig) Subject: [PATCH 03/11] nvme_rdma: update for req_op changes Date: Wed, 8 Jun 2016 14:30:58 +0200 [thread overview] Message-ID: <1465389066-19119-4-git-send-email-hch@lst.de> (raw) In-Reply-To: <1465389066-19119-1-git-send-email-hch@lst.de> Signed-off-by: Christoph Hellwig <hch at lst.de> --- drivers/nvme/host/rdma.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/nvme/host/rdma.c b/drivers/nvme/host/rdma.c index 4edc912..e938ab6 100644 --- a/drivers/nvme/host/rdma.c +++ b/drivers/nvme/host/rdma.c @@ -1453,7 +1453,7 @@ static int nvme_rdma_queue_rq(struct blk_mq_hw_ctx *hctx, ib_dma_sync_single_for_device(dev, sqe->dma, sizeof(struct nvme_command), DMA_TO_DEVICE); - if (rq->cmd_type == REQ_TYPE_FS && (rq->cmd_flags & REQ_FLUSH)) + if (rq->cmd_type == REQ_TYPE_FS && req_op(rq) == REQ_OP_FLUSH) flush = true; ret = nvme_rdma_post_send(queue, sqe, req->sge, req->num_sge, req->need_inval ? &req->reg_wr.wr : NULL, flush); -- 2.1.4
next prev parent reply other threads:[~2016-06-08 12:30 UTC|newest] Thread overview: 52+ messages / expand[flat|nested] mbox.gz Atom feed top 2016-06-08 12:30 NVMe over Fabrics: updates for req_op changes and misc fixes Christoph Hellwig 2016-06-08 12:30 ` Christoph Hellwig 2016-06-08 12:30 ` [PATCH 01/11] Revert "blk-mq: add blk_mq_alloc_request_hctx" Christoph Hellwig 2016-06-08 12:30 ` Christoph Hellwig 2016-06-08 13:58 ` Jeff Moyer 2016-06-08 13:58 ` Jeff Moyer 2016-06-08 14:10 ` Christoph Hellwig 2016-06-08 14:10 ` Christoph Hellwig 2016-06-08 14:13 ` Jeff Moyer 2016-06-08 14:13 ` Jeff Moyer 2016-06-08 12:30 ` [PATCH 02/11] blk-mq: add blk_mq_alloc_request_hctx Christoph Hellwig 2016-06-08 12:30 ` Christoph Hellwig 2016-06-08 13:43 ` Sagi Grimberg 2016-06-08 13:43 ` Sagi Grimberg 2016-06-08 12:30 ` Christoph Hellwig [this message] 2016-06-08 12:30 ` [PATCH 03/11] nvme_rdma: update for req_op changes Christoph Hellwig 2016-06-08 13:44 ` Sagi Grimberg 2016-06-08 13:44 ` Sagi Grimberg 2016-06-08 22:03 ` Ming Lin 2016-06-08 22:03 ` Ming Lin 2016-06-08 12:30 ` [PATCH 04/11] nvmet: " Christoph Hellwig 2016-06-08 12:30 ` Christoph Hellwig 2016-06-08 13:44 ` Sagi Grimberg 2016-06-08 13:44 ` Sagi Grimberg 2016-06-14 14:27 ` Christoph Hellwig 2016-06-14 14:27 ` Christoph Hellwig 2016-06-08 12:31 ` [PATCH 05/11] nvme-loop: set SGL flag on AER Christoph Hellwig 2016-06-08 12:31 ` Christoph Hellwig 2016-06-08 12:31 ` [PATCH 06/11] nvme-rdma: " Christoph Hellwig 2016-06-08 12:31 ` Christoph Hellwig 2016-06-08 12:31 ` [PATCH 07/11] nvmet: fix 64-bit division in nvmet_set_features Christoph Hellwig 2016-06-08 12:31 ` Christoph Hellwig 2016-06-08 13:53 ` Sagi Grimberg 2016-06-08 13:53 ` Sagi Grimberg 2016-06-08 12:31 ` [PATCH 08/11] nvmet: fix eno.cocci warnings Christoph Hellwig 2016-06-08 12:31 ` Christoph Hellwig 2016-06-08 22:09 ` Ming Lin 2016-06-08 22:09 ` Ming Lin 2016-06-08 12:31 ` [PATCH 09/11] nvmet-rdma: check for a valid adrfam Christoph Hellwig 2016-06-08 12:31 ` Christoph Hellwig 2016-06-08 12:31 ` [PATCH 10/11] nvme: keep alive should use any queue Christoph Hellwig 2016-06-08 12:31 ` Christoph Hellwig 2016-06-08 13:54 ` Sagi Grimberg 2016-06-08 13:54 ` Sagi Grimberg 2016-06-08 12:31 ` [PATCH 11/11] nvme-fabrics: pass non-blocking flag to connect request allocation Christoph Hellwig 2016-06-08 12:31 ` Christoph Hellwig 2016-06-08 13:55 ` Sagi Grimberg 2016-06-08 13:55 ` Sagi Grimberg 2016-06-08 14:09 ` Christoph Hellwig 2016-06-08 14:09 ` Christoph Hellwig 2016-06-08 22:21 ` NVMe over Fabrics: updates for req_op changes and misc fixes Ming Lin 2016-06-08 22:21 ` Ming Lin
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=1465389066-19119-4-git-send-email-hch@lst.de \ --to=hch@lst.de \ --cc=axboe@kernel.dk \ --cc=keith.busch@intel.com \ --cc=linux-block@vger.kernel.org \ --cc=linux-nvme@lists.infradead.org \ --cc=ming.l@ssi.samsung.com \ --cc=sagi@lightbits.io \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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.