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:
Wang Jianzheng <11134417@vivo.corp-partner.google.com>
Loading
Please sign in to comment