Skip to contentSkip to conversation

block: remove RQF_ALLOCED

PATCH In review Christoph Hellwig 2 participants 4 messages Mar 17, 2021 – Mar 18, 2021 Block layer

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 block: remove RQF_ALLOCED

This flag is not used anywhere.

---
 include/linux/blkdev.h | 2 --
 1 file changed, 2 deletions(-)
include/linux/blkdev.h +0 -2
index bc6bc8383b434e..158aefae1030db 100644
@@ -85,8 +85,6 @@ typedef __u32 __bitwise req_flags_t;
 #define RQF_ELVPRIV		((__force req_flags_t)(1 << 12))
 /* account into disk and partition IO statistics */
 #define RQF_IO_STAT		((__force req_flags_t)(1 << 13))
-/* request came from our alloc pool */
-#define RQF_ALLOCED		((__force req_flags_t)(1 << 14))
 /* runtime pm request */
 #define RQF_PM			((__force req_flags_t)(1 << 15))
 /* on IO scheduler merge hash */
Signature · 1 line
2.30.1
#1 lore raw
Quoted 1 line · Christoph Hellwig

This flag is not used anywhere.

Except that blk-mq-debugfs prints it in a completely obsfucated way. Sight, I'll need to fix that mess while I'm at it.

#2 lore raw
Quoted 5 lines · Christoph Hellwig
Quoted 1 line · Christoph Hellwig

This flag is not used anywhere.

Except that blk-mq-debugfs prints it in a completely obsfucated way. Sight, I'll need to fix that mess while I'm at it.

If you are going to fix this, does it makes sense to fix the rest of the obfuscation ? such as QUEUE_FLAGE_NAME/HCTX_FLAG_NAME/CMD_FLAG_NAME ?

#3 lore raw
Quoted 11 lines · Chaitanya Kulkarni
Quoted 5 lines · Christoph Hellwig
Quoted 1 line · Christoph Hellwig

This flag is not used anywhere.

Except that blk-mq-debugfs prints it in a completely obsfucated way. Sight, I'll need to fix that mess while I'm at it.

If you are going to fix this, does it makes sense to fix the rest of the obfuscation ? such as QUEUE_FLAGE_NAME/HCTX_FLAG_NAME/CMD_FLAG_NAME ?

If so, I'd like to send a patch to remove obfuscation for blk_op_name[].

Please let me know.