ANDROID: Block: add OEM data to struct blk_mq_tags

In scenarios with high IOPS where high-priority requests may take a delay that getting tag. Add an OEM data field to blk_mq_tags to support OEM customized modification for assign tags.It is possible to improve the high IO priority responsiveness.

Bug: 335565982
Bug: 407925016

Change-Id: I535a7d16d4c9d297e59638761aea4cf5a610255b
Signed-off-by: Wang Jianzheng <11134417@vivo.corp-partner.google.com>
(cherry picked from commit 94b8823b015715ec4c11cc578d61c59f6324edce)
Signed-off-by: ying zuxin <11154159@vivo.com>
This commit is contained in:
Wang Jianzheng
2024-04-18 16:46:46 +08:00
committed by Carlos Llamas
parent 2e296ce076
commit b1a4684b68
+1
View File
@@ -776,6 +776,7 @@ struct blk_mq_tags {
* request pool
*/
spinlock_t lock;
ANDROID_OEM_DATA(1);
};
static inline struct request *blk_mq_tag_to_rq(struct blk_mq_tags *tags,