[PATCH 10/11] mm: add kiocb_wait_page_async_init() helper

2020-05-22 Thread Jens Axboe
Checks if the file supports it, and initializes the values that we need. Caller passes in 'data' pointer, if any, and the callback function to be used. Signed-off-by: Jens Axboe --- include/linux/pagemap.h | 18 ++ 1 file changed, 18 insertions(+) diff --git

[PATCH 10/11] mm: add kiocb_wait_page_async_init() helper

2020-05-22 Thread Jens Axboe
Checks if the file supports it, and initializes the values that we need. Caller passes in 'data' pointer, if any, and the callback function to be used. Signed-off-by: Jens Axboe --- include/linux/pagemap.h | 18 ++ 1 file changed, 18 insertions(+) diff --git