ANDROID: GKI: Add ANDROID_OEM_DATA(1) in struct request to support pre-read feature.
To implement the foreshow list in the kernel, we need to incorporate additional flags into the request. However, the rq_flags field currently has only 5 remaining bits. Considering the potential future usage by Android or upstream, we propose the addition of an OEM data field to prevent conflicts down the line. Bug: 339338545 Change-Id: I965450a06a365b53ae82d11bd678983c6c286f1a Signed-off-by: LongPing Wei <weilongping@oppo.com> (cherry picked from commit 943f2856e40751d7971de33b6d75c7a23df7139d)
This commit is contained in:
@@ -208,6 +208,8 @@ struct request {
|
||||
*/
|
||||
rq_end_io_fn *end_io;
|
||||
void *end_io_data;
|
||||
|
||||
ANDROID_OEM_DATA(1);
|
||||
};
|
||||
|
||||
static inline enum req_op req_op(const struct request *req)
|
||||
|
||||
Reference in New Issue
Block a user