ANDROID: vendor_hooks: add inode as param to android_rvh_ctl_dirty_rate
We've added a hook point to limit the buffer IO rate from the source. https://android-review.googlesource.com/c/kernel/common/+/2905568 A problem was discovered when using this function. When process A and B operate the same file, since the inode lock is held by A, if A is speed-limited, B will also be limited. So we want to pass the inode as parameter, avoid this situation by checking the lock wait list. Bug: 346467081 Change-Id: I5b9d554922cee79d1405e34eb6405dc6104f762c Signed-off-by:dongliang.cui <dongliang.cui@unisoc.com>
Loading
Please sign in to comment