Commit Graph

1 Commits

Author SHA1 Message Date
lijiaming
0f1629ced8 ANDROID: direct_io: Add a vendor hook to update OEM-specific field of struct bio
Based on the value of "dio->iocb->ki_ioprio" and "dio->iocb->ki_flags",
we can update OEM-specific field of struct bio through this hook. then
we can distinguish different IO's in lower level drivers and take different measures

Bug: 262939423
Change-Id: Ie84d737ca72c29737542f3783d27d7231a272cc4
Signed-off-by: lijiaming <lijiaming3@xiaomi.com>
2023-01-13 21:31:41 +00:00