Skip to contentSkip to conversation

block: remove the REQ_NOWAIT_INLINE flag

PATCH Applied Christoph Hellwig 3 participants 4 messages May 4, 2020 – May 16, 2020 Block layer

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 block: remove the REQ_NOWAIT_INLINE flag

---
 include/linux/blk_types.h | 2 --
 1 file changed, 2 deletions(-)
include/linux/blk_types.h +0 -2
index 90895d594e647..7443e474cdad5 100644
@@ -323,7 +323,6 @@ enum req_flag_bits {
 	__REQ_RAHEAD,		/* read ahead, can fail anytime */
 	__REQ_BACKGROUND,	/* background IO */
 	__REQ_NOWAIT,           /* Don't wait if request will block */
-	__REQ_NOWAIT_INLINE,	/* Return would-block error inline */
 	/*
 	 * When a shared kthread needs to issue a bio for a cgroup, doing
 	 * so synchronously can lead to priority inversions as the kthread
@@ -358,7 +357,6 @@ enum req_flag_bits {
 #define REQ_RAHEAD		(1ULL << __REQ_RAHEAD)
 #define REQ_BACKGROUND		(1ULL << __REQ_BACKGROUND)
 #define REQ_NOWAIT		(1ULL << __REQ_NOWAIT)
-#define REQ_NOWAIT_INLINE	(1ULL << __REQ_NOWAIT_INLINE)
 #define REQ_CGROUP_PUNT		(1ULL << __REQ_CGROUP_PUNT)
 
 #define REQ_NOUNMAP		(1ULL << __REQ_NOUNMAP)
Signature · 1 line
2.26.2
Reviewed-by on v1 1/1
#1 lore raw
Quoted 18 lines · Christoph Hellwig
---
  include/linux/blk_types.h | 2 --
  1 file changed, 2 deletions(-)
include/linux/blk_types.h +0 -1
index 90895d594e647..7443e474cdad5 100644
@@ -323,7 +323,6 @@ enum req_flag_bits {
  	__REQ_RAHEAD,		/* read ahead, can fail anytime */
  	__REQ_BACKGROUND,	/* background IO */
  	__REQ_NOWAIT,           /* Don't wait if request will block */
-	__REQ_NOWAIT_INLINE,	/* Return would-block error inline */
  	/*
  	 * When a shared kthread needs to issue a bio for a cgroup, doing
  	 * so synchronously can lead to priority inversions as the kthread

include/linux/blk_types.h enum req_flag_bits {

Quoted 8 lines
include/linux/blk_types.h +0 -2
@@ -358,7 +357,6 @@ enum req_flag_bits {
  #define REQ_RAHEAD		(1ULL << __REQ_RAHEAD)
  #define REQ_BACKGROUND		(1ULL << __REQ_BACKGROUND)
  #define REQ_NOWAIT		(1ULL << __REQ_NOWAIT)
-#define REQ_NOWAIT_INLINE	(1ULL << __REQ_NOWAIT_INLINE)
  #define REQ_CGROUP_PUNT		(1ULL << __REQ_CGROUP_PUNT)
 
  #define REQ_NOUNMAP		(1ULL << __REQ_NOUNMAP)
-- 2.26.2

Looks good to me.

#2 lore raw
In reply to Christoph Hellwig

ping?

Quoted 27 lines · Christoph Hellwig
---
 include/linux/blk_types.h | 2 --
 1 file changed, 2 deletions(-)
include/linux/blk_types.h +0 -2
index 90895d594e647..7443e474cdad5 100644
@@ -323,7 +323,6 @@ enum req_flag_bits {
 	__REQ_RAHEAD,		/* read ahead, can fail anytime */
 	__REQ_BACKGROUND,	/* background IO */
 	__REQ_NOWAIT,           /* Don't wait if request will block */
-	__REQ_NOWAIT_INLINE,	/* Return would-block error inline */
 	/*
 	 * When a shared kthread needs to issue a bio for a cgroup, doing
 	 * so synchronously can lead to priority inversions as the kthread
@@ -358,7 +357,6 @@ enum req_flag_bits {
 #define REQ_RAHEAD		(1ULL << __REQ_RAHEAD)
 #define REQ_BACKGROUND		(1ULL << __REQ_BACKGROUND)
 #define REQ_NOWAIT		(1ULL << __REQ_NOWAIT)
-#define REQ_NOWAIT_INLINE	(1ULL << __REQ_NOWAIT_INLINE)
 #define REQ_CGROUP_PUNT		(1ULL << __REQ_CGROUP_PUNT)
 
 #define REQ_NOUNMAP		(1ULL << __REQ_NOUNMAP)
Signature · 1 line
2.26.2

---end quoted text---