From: Christoph Hellwig <hch@lst.de> To: Jens Axboe <axboe@kernel.dk> Cc: Keith Busch <keith.busch@intel.com>, Sagi Grimberg <sagi@grimberg.me>, Hannes Reinecke <hare@suse.de>, Johannes Thumshirn <jthumshirn@suse.de>, linux-nvme@lists.infradead.org, linux-block@vger.kernel.org Subject: [PATCH 01/17] block: move REQ_NOWAIT Date: Wed, 18 Oct 2017 18:52:42 +0200 [thread overview] Message-ID: <20171018165258.23212-2-hch@lst.de> (raw) In-Reply-To: <20171018165258.23212-1-hch@lst.de> This flag should be before the operation-specific REQ_NOUNMAP bit. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Sagi Grimberg <sagi@grimberg.me> --- include/linux/blk_types.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/linux/blk_types.h b/include/linux/blk_types.h index a2d2aa709cef..acc2f3cdc2fc 100644 --- a/include/linux/blk_types.h +++ b/include/linux/blk_types.h @@ -224,11 +224,11 @@ enum req_flag_bits { __REQ_PREFLUSH, /* request for cache flush */ __REQ_RAHEAD, /* read ahead, can fail anytime */ __REQ_BACKGROUND, /* background IO */ + __REQ_NOWAIT, /* Don't wait if request will block */ /* command specific flags for REQ_OP_WRITE_ZEROES: */ __REQ_NOUNMAP, /* do not free blocks when zeroing */ - __REQ_NOWAIT, /* Don't wait if request will block */ __REQ_NR_BITS, /* stops here */ }; @@ -245,9 +245,9 @@ enum req_flag_bits { #define REQ_PREFLUSH (1ULL << __REQ_PREFLUSH) #define REQ_RAHEAD (1ULL << __REQ_RAHEAD) #define REQ_BACKGROUND (1ULL << __REQ_BACKGROUND) +#define REQ_NOWAIT (1ULL << __REQ_NOWAIT) #define REQ_NOUNMAP (1ULL << __REQ_NOUNMAP) -#define REQ_NOWAIT (1ULL << __REQ_NOWAIT) #define REQ_FAILFAST_MASK \ (REQ_FAILFAST_DEV | REQ_FAILFAST_TRANSPORT | REQ_FAILFAST_DRIVER) -- 2.14.1
WARNING: multiple messages have this Message-ID (diff)
From: hch@lst.de (Christoph Hellwig) Subject: [PATCH 01/17] block: move REQ_NOWAIT Date: Wed, 18 Oct 2017 18:52:42 +0200 [thread overview] Message-ID: <20171018165258.23212-2-hch@lst.de> (raw) In-Reply-To: <20171018165258.23212-1-hch@lst.de> This flag should be before the operation-specific REQ_NOUNMAP bit. Signed-off-by: Christoph Hellwig <hch at lst.de> Reviewed-by: Sagi Grimberg <sagi at grimberg.me> --- include/linux/blk_types.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/linux/blk_types.h b/include/linux/blk_types.h index a2d2aa709cef..acc2f3cdc2fc 100644 --- a/include/linux/blk_types.h +++ b/include/linux/blk_types.h @@ -224,11 +224,11 @@ enum req_flag_bits { __REQ_PREFLUSH, /* request for cache flush */ __REQ_RAHEAD, /* read ahead, can fail anytime */ __REQ_BACKGROUND, /* background IO */ + __REQ_NOWAIT, /* Don't wait if request will block */ /* command specific flags for REQ_OP_WRITE_ZEROES: */ __REQ_NOUNMAP, /* do not free blocks when zeroing */ - __REQ_NOWAIT, /* Don't wait if request will block */ __REQ_NR_BITS, /* stops here */ }; @@ -245,9 +245,9 @@ enum req_flag_bits { #define REQ_PREFLUSH (1ULL << __REQ_PREFLUSH) #define REQ_RAHEAD (1ULL << __REQ_RAHEAD) #define REQ_BACKGROUND (1ULL << __REQ_BACKGROUND) +#define REQ_NOWAIT (1ULL << __REQ_NOWAIT) #define REQ_NOUNMAP (1ULL << __REQ_NOUNMAP) -#define REQ_NOWAIT (1ULL << __REQ_NOWAIT) #define REQ_FAILFAST_MASK \ (REQ_FAILFAST_DEV | REQ_FAILFAST_TRANSPORT | REQ_FAILFAST_DRIVER) -- 2.14.1
next prev parent reply other threads:[~2017-10-18 16:52 UTC|newest] Thread overview: 126+ messages / expand[flat|nested] mbox.gz Atom feed top 2017-10-18 16:52 nvme multipath support V4 Christoph Hellwig 2017-10-18 16:52 ` Christoph Hellwig 2017-10-18 16:52 ` Christoph Hellwig [this message] 2017-10-18 16:52 ` [PATCH 01/17] block: move REQ_NOWAIT Christoph Hellwig 2017-10-19 5:48 ` Hannes Reinecke 2017-10-19 5:48 ` Hannes Reinecke 2017-10-19 6:46 ` Johannes Thumshirn 2017-10-19 6:46 ` Johannes Thumshirn 2017-10-18 16:52 ` [PATCH 02/17] block: add REQ_DRV bit Christoph Hellwig 2017-10-18 16:52 ` Christoph Hellwig 2017-10-19 5:48 ` Hannes Reinecke 2017-10-19 5:48 ` Hannes Reinecke 2017-10-19 6:47 ` Johannes Thumshirn 2017-10-19 6:47 ` Johannes Thumshirn 2017-10-18 16:52 ` [PATCH 03/17] block: provide a direct_make_request helper Christoph Hellwig 2017-10-18 16:52 ` Christoph Hellwig 2017-10-19 10:35 ` Sagi Grimberg 2017-10-19 10:35 ` Sagi Grimberg 2017-10-19 10:36 ` Sagi Grimberg 2017-10-19 10:36 ` Sagi Grimberg 2017-10-19 13:54 ` Christoph Hellwig 2017-10-19 13:54 ` Christoph Hellwig 2017-10-19 14:42 ` Sagi Grimberg 2017-10-19 14:42 ` Sagi Grimberg 2017-10-18 16:52 ` [PATCH 04/17] block: add a blk_steal_bios helper Christoph Hellwig 2017-10-18 16:52 ` Christoph Hellwig 2017-10-18 16:52 ` [PATCH 05/17] block: don't look at the struct device dev_t in disk_devt Christoph Hellwig 2017-10-18 16:52 ` Christoph Hellwig 2017-10-19 8:32 ` Johannes Thumshirn 2017-10-19 8:32 ` Johannes Thumshirn 2017-10-18 16:52 ` [PATCH 06/17] block: introduce GENHD_FL_HIDDEN Christoph Hellwig 2017-10-18 16:52 ` Christoph Hellwig 2017-10-19 8:31 ` Johannes Thumshirn 2017-10-19 8:31 ` Johannes Thumshirn 2017-10-19 12:45 ` Hannes Reinecke 2017-10-19 12:45 ` Hannes Reinecke 2017-10-19 13:15 ` Christoph Hellwig 2017-10-19 13:15 ` Christoph Hellwig 2017-10-18 16:52 ` [PATCH 07/17] nvme: use ida_simple_{get,remove} for the controller instance Christoph Hellwig 2017-10-18 16:52 ` [PATCH 07/17] nvme: use ida_simple_{get, remove} " Christoph Hellwig 2017-10-19 6:53 ` [PATCH 07/17] nvme: use ida_simple_{get,remove} " Johannes Thumshirn 2017-10-19 6:53 ` [PATCH 07/17] nvme: use ida_simple_{get, remove} " Johannes Thumshirn 2017-10-19 6:58 ` [PATCH 07/17] nvme: use ida_simple_{get,remove} " Sagi Grimberg 2017-10-19 6:58 ` Sagi Grimberg 2017-10-19 15:14 ` Keith Busch 2017-10-19 15:14 ` Keith Busch 2017-10-19 15:12 ` Christoph Hellwig 2017-10-19 15:12 ` Christoph Hellwig 2017-10-18 16:52 ` [PATCH 08/17] nvme: use kref_get_unless_zero in nvme_find_get_ns Christoph Hellwig 2017-10-18 16:52 ` Christoph Hellwig 2017-10-19 6:54 ` Johannes Thumshirn 2017-10-19 6:54 ` Johannes Thumshirn 2017-10-19 6:59 ` Sagi Grimberg 2017-10-19 6:59 ` Sagi Grimberg 2017-10-18 16:52 ` [PATCH 09/17] nvme: simplify nvme_open Christoph Hellwig 2017-10-18 16:52 ` Christoph Hellwig 2017-10-19 6:55 ` Johannes Thumshirn 2017-10-19 6:55 ` Johannes Thumshirn 2017-10-19 6:59 ` Sagi Grimberg 2017-10-19 6:59 ` Sagi Grimberg 2017-10-18 16:52 ` [PATCH 10/17] nvme: switch controller refcounting to use struct device Christoph Hellwig 2017-10-18 16:52 ` Christoph Hellwig 2017-10-19 7:17 ` Sagi Grimberg 2017-10-19 7:17 ` Sagi Grimberg 2017-10-19 7:20 ` Christoph Hellwig 2017-10-19 7:20 ` Christoph Hellwig 2017-10-19 7:31 ` Sagi Grimberg 2017-10-19 7:31 ` Sagi Grimberg 2017-10-19 7:37 ` Christoph Hellwig 2017-10-19 7:37 ` Christoph Hellwig 2017-10-19 10:02 ` Sagi Grimberg 2017-10-19 10:02 ` Sagi Grimberg 2017-10-19 10:18 ` Christoph Hellwig 2017-10-19 10:18 ` Christoph Hellwig 2017-10-19 10:33 ` Sagi Grimberg 2017-10-19 10:33 ` Sagi Grimberg 2017-10-19 13:54 ` Christoph Hellwig 2017-10-19 13:54 ` Christoph Hellwig 2017-10-18 16:52 ` [PATCH 11/17] nvme: get rid of nvme_ctrl_list Christoph Hellwig 2017-10-18 16:52 ` Christoph Hellwig 2017-10-19 7:18 ` Sagi Grimberg 2017-10-19 7:18 ` Sagi Grimberg 2017-10-19 7:22 ` Johannes Thumshirn 2017-10-19 7:22 ` Johannes Thumshirn 2017-10-19 7:24 ` Christoph Hellwig 2017-10-19 7:24 ` Christoph Hellwig 2017-10-18 16:52 ` [PATCH 12/17] nvme: check for a live controller in nvme_dev_open Christoph Hellwig 2017-10-18 16:52 ` Christoph Hellwig 2017-10-19 7:18 ` Sagi Grimberg 2017-10-19 7:18 ` Sagi Grimberg 2017-10-19 7:23 ` Johannes Thumshirn 2017-10-19 7:23 ` Johannes Thumshirn 2017-10-18 16:52 ` [PATCH 13/17] nvme: track subsystems Christoph Hellwig 2017-10-18 16:52 ` Christoph Hellwig 2017-10-18 22:39 ` Keith Busch 2017-10-18 22:39 ` Keith Busch 2017-10-18 22:53 ` Keith Busch 2017-10-18 22:53 ` Keith Busch 2017-10-19 7:14 ` Christoph Hellwig 2017-10-19 7:14 ` Christoph Hellwig 2017-10-18 16:52 ` [PATCH 14/17] nvme: introduce a nvme_ns_ids structure Christoph Hellwig 2017-10-18 16:52 ` Christoph Hellwig 2017-10-18 16:52 ` [PATCH 15/17] nvme: track shared namespaces Christoph Hellwig 2017-10-18 16:52 ` Christoph Hellwig 2017-10-19 7:36 ` Johannes Thumshirn 2017-10-19 7:36 ` Johannes Thumshirn 2017-10-19 11:06 ` Sagi Grimberg 2017-10-19 11:06 ` Sagi Grimberg 2017-10-19 13:51 ` Christoph Hellwig 2017-10-19 13:51 ` Christoph Hellwig 2017-10-20 19:03 ` Javier González 2017-10-20 19:03 ` Javier González 2017-10-18 16:52 ` [PATCH 16/17] nvme: implement multipath access to nvme subsystems Christoph Hellwig 2017-10-18 16:52 ` Christoph Hellwig 2017-10-18 16:52 ` [PATCH 17/17] nvme: also expose the namespace identification sysfs files for mpath nodes Christoph Hellwig 2017-10-18 16:52 ` Christoph Hellwig 2017-10-19 7:45 ` Johannes Thumshirn 2017-10-19 7:45 ` Johannes Thumshirn 2017-10-19 15:24 ` Sagi Grimberg 2017-10-19 15:24 ` Sagi Grimberg 2017-10-23 2:08 ` nvme multipath support V4 Guan Junxiong 2017-10-23 2:08 ` Guan Junxiong 2017-10-23 6:33 ` Sagi Grimberg 2017-10-23 6:33 ` Sagi Grimberg 2017-10-23 14:51 nvme multipath support V5 Christoph Hellwig 2017-10-23 14:51 ` [PATCH 01/17] block: move REQ_NOWAIT Christoph Hellwig 2017-10-23 14:51 ` Christoph Hellwig
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=20171018165258.23212-2-hch@lst.de \ --to=hch@lst.de \ --cc=axboe@kernel.dk \ --cc=hare@suse.de \ --cc=jthumshirn@suse.de \ --cc=keith.busch@intel.com \ --cc=linux-block@vger.kernel.org \ --cc=linux-nvme@lists.infradead.org \ --cc=sagi@grimberg.me \ /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.