Commit 0f1629ce authored by lijiaming's avatar lijiaming Committed by Todd Kjos
Browse files

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: default avatarlijiaming <lijiaming3@xiaomi.com>
parent 647d9c21
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment