From: Christoph Hellwig <hch@infradead.org> To: Christoph Hellwig <hch@lst.de> Cc: keith.busch@intel.com, axboe@kernel.dk, linux-block@vger.kernel.org, ming.l@ssi.samsung.com, linux-nvme@lists.infradead.org, sagi@lightbits.io Subject: Re: [PATCH 04/11] nvmet: update for req_op changes Date: Tue, 14 Jun 2016 07:27:21 -0700 [thread overview] Message-ID: <20160614142721.GA17219@infradead.org> (raw) In-Reply-To: <1465389066-19119-5-git-send-email-hch@lst.de> FYI, this missed half of the fixups, here is the other half: --- >From c5caa4c7c3ad5f9648e18f42687c0b63885f428d Mon Sep 17 00:00:00 2001 From: Christoph Hellwig <hch@lst.de> Date: Tue, 14 Jun 2016 09:27:53 +0200 Subject: nvmet: more fixups for the op vs flags split Signed-off-by: Christoph Hellwig <hch@lst.de> --- drivers/nvme/target/io-cmd.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/nvme/target/io-cmd.c b/drivers/nvme/target/io-cmd.c index 4cfd481..2cd069b6 100644 --- a/drivers/nvme/target/io-cmd.c +++ b/drivers/nvme/target/io-cmd.c @@ -73,6 +73,7 @@ static void nvmet_execute_rw(struct nvmet_req *req) bio->bi_iter.bi_sector = sector; bio->bi_private = req; bio->bi_end_io = nvmet_bio_done; + bio_set_op_attrs(bio, op, op_flags); for_each_sg(req->sg, sg, req->sg_cnt, i) { while (bio_add_page(bio, sg_page(sg), sg->length, sg->offset) @@ -107,7 +108,7 @@ static void nvmet_execute_flush(struct nvmet_req *req) bio->bi_bdev = req->ns->bdev; bio->bi_private = req; bio->bi_end_io = nvmet_bio_done; - bio->bi_rw = WRITE_FLUSH; + bio_set_op_attrs(bio, REQ_OP_WRITE, WRITE_FLUSH); submit_bio(bio); } -- 2.1.4
WARNING: multiple messages have this Message-ID (diff)
From: hch@infradead.org (Christoph Hellwig) Subject: [PATCH 04/11] nvmet: update for req_op changes Date: Tue, 14 Jun 2016 07:27:21 -0700 [thread overview] Message-ID: <20160614142721.GA17219@infradead.org> (raw) In-Reply-To: <1465389066-19119-5-git-send-email-hch@lst.de> FYI, this missed half of the fixups, here is the other half: --- >From c5caa4c7c3ad5f9648e18f42687c0b63885f428d Mon Sep 17 00:00:00 2001 From: Christoph Hellwig <hch@lst.de> Date: Tue, 14 Jun 2016 09:27:53 +0200 Subject: nvmet: more fixups for the op vs flags split Signed-off-by: Christoph Hellwig <hch at lst.de> --- drivers/nvme/target/io-cmd.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/nvme/target/io-cmd.c b/drivers/nvme/target/io-cmd.c index 4cfd481..2cd069b6 100644 --- a/drivers/nvme/target/io-cmd.c +++ b/drivers/nvme/target/io-cmd.c @@ -73,6 +73,7 @@ static void nvmet_execute_rw(struct nvmet_req *req) bio->bi_iter.bi_sector = sector; bio->bi_private = req; bio->bi_end_io = nvmet_bio_done; + bio_set_op_attrs(bio, op, op_flags); for_each_sg(req->sg, sg, req->sg_cnt, i) { while (bio_add_page(bio, sg_page(sg), sg->length, sg->offset) @@ -107,7 +108,7 @@ static void nvmet_execute_flush(struct nvmet_req *req) bio->bi_bdev = req->ns->bdev; bio->bi_private = req; bio->bi_end_io = nvmet_bio_done; - bio->bi_rw = WRITE_FLUSH; + bio_set_op_attrs(bio, REQ_OP_WRITE, WRITE_FLUSH); submit_bio(bio); } -- 2.1.4
next prev parent reply other threads:[~2016-06-14 14:27 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 ` [PATCH 03/11] nvme_rdma: update for req_op changes 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-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 [this message] 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=20160614142721.GA17219@infradead.org \ --to=hch@infradead.org \ --cc=axboe@kernel.dk \ --cc=hch@lst.de \ --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.