linux-next: build failure after merge of the akpm-current tree
Subsystems (2)
Hi Andrew,
After merging the akpm-current tree, today's linux-next build (arm multi_v7_defconfig) failed like this:
fs/io_uring.c: In function 'io_async_list_note':fs/io_uring.c:931:16: error: 'VM_MAX_READAHEAD' undeclared (first use in this function); did you mean 'VM_MAYREAD'?
max_pages = VM_MAX_READAHEAD >> (PAGE_SHIFT - 10);
^~~~~~~~~~~~~~~~
VM_MAYREADCaused by commit
4c416502dae2 ("mm: Refactor readahead defines in mm.h")
interacting with commit
6eff5fa16a2e ("io_uring: allow workqueue item to handle multiple buffered requests")
from the block tree.
I have applied this merge fix patch for today:
From: Stephen Rothwell <[email protected]>
Date: Wed, 13 Feb 2019 17:21:44 +1100
Subject: [PATCH] io_uring: fix up for readahead defines refactor
--- fs/io_uring.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
fs/io_uring.c +1 -1
@@ -928,7 +928,7 @@ static void io_async_list_note(int rw, struct io_kiocb *req, size_t len)/* Use 8x RA size as a decent limiter for both reads/writes */ max_pages = filp->f_ra.ra_pages;if (!max_pages) - max_pages =VM_MAX_READAHEAD >> (PAGE_SHIFT -10 ); + max_pages =VM_READAHEAD_PAGES ; max_pages *=8 ;/* If max pages are exceeded, reset the state */
Signature · 5 lines
2.20.1 -- Cheers, Stephen Rothwell
Quoted 13 lines · On Wed, 13 Feb 2019 17:25:18 +1100 Stephen Rothwell <[email protected]>…
Hi Andrew,
After merging the akpm-current tree, today's linux-next build (arm
multi_v7_defconfig) failed like this:
fs/io_uring.c: In function 'io_async_list_note':fs/io_uring.c:931:16: error: 'VM_MAX_READAHEAD' undeclared (first use in this function); did you mean 'VM_MAYREAD'?max_pages = VM_MAX_READAHEAD >> (PAGE_SHIFT - 10); ^~~~~~~~~~~~~~~~ VM_MAYREADCaused by commit
Quoted 8 lines
4c416502dae2("mm: Refactor readahead defines inmm.h")interacting with commit
6eff5fa16a2e("io_uring: allow workqueue item to handle multiple buffered requests")from the block tree.
Thanks. I'll fix mm-refactor-readahead-defines-in-mmh.patch and shall stage it after the block tree so everything lands nicely.