From b1a4684b68967573ce3375f36c83b4565f68c042 Mon Sep 17 00:00:00 2001 From: Wang Jianzheng <11134417@vivo.corp-partner.google.com> Date: Thu, 18 Apr 2024 16:46:46 +0800 Subject: [PATCH] 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> --- include/linux/blk-mq.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/blk-mq.h b/include/linux/blk-mq.h index df338fb4eaea..b0173c633027 100644 --- a/include/linux/blk-mq.h +++ b/include/linux/blk-mq.h @@ -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,