Hi Jens,
I'm doing tests about this feature: [PATCHSET RFC 0/11] Add support for
async buffered reads
But currently with fio testing, I found the code doesn't go to the
essential places in the function generic_file_buffered_read:
if (iocb->ki_flags & IOCB_WAITQ) {
if (written) {
put_page(page);
goto out;
}
error = wait_on_page_locked_async(page,
iocb->ki_waitq);
} else {
and
page_not_up_to_date:
/* Get exclusive access to the page ... */
if (iocb->ki_flags & IOCB_WAITQ)
error = lock_page_async(page, iocb->ki_waitq);
else
could you give me a copy of your test program which you mentioned in the
RFC?
My testing environment:
fio version: 3.10
kernel version: the mainline kernel, latest commit is
805c6d3c19210c90c109107d189744e960eae025
Thanks,
Hao