Commit feb92ccf authored by Wang Jianzheng's avatar Wang Jianzheng Committed by Carlos Llamas
Browse files

ANDROID: Block: add OEM data to struct gendisk



In order to alleviate the issue of priority inversion caused by the lock_page,
it is proposed to add oem_data to the struct gendisk to store a pointer to
its struct block_device . This will allow us to check its priority through a
customized scheduler hook when lock_folio.

Bug: 338959088

Change-Id: I118ef11cb89a3fad9a15a2c3b8383d42be0fded4
Signed-off-by: default avatarWang Jianzheng <11134417@vivo.corp-partner.google.com>
parent 2ab34b6d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment