Message ID | ad411989-3695-4ac9-9f96-b95f71918285@kernel.dk (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | [GIT,PULL] io_uring changes for 6.13-rc1 | expand |
Hi Jens, Thomas, On Mon, Nov 18, 2024 at 07:22:59AM -0700, Jens Axboe wrote: >hexue (1): > io_uring: add support for hybrid IOPOLL After merging of this pull request into linus-next, I've started seeing build errors: /builds/linux/io_uring/rw.c: In function 'io_hybrid_iopoll_delay': /builds/linux/io_uring/rw.c:1179:2: error: implicit declaration of function 'hrtimer_init_sleeper_on_stack'; did you mean 'hrtimer_setup_sleeper_on_stack'? [-Werror=implicit-function-declaration] hrtimer_init_sleeper_on_stack(&timer, CLOCK_MONOTONIC, mode); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hrtimer_setup_sleeper_on_stack This is because 01ee194d1aba ("io_uring: add support for hybrid IOPOLL") adds a call to hrtimer_init_sleeper_on_stack() which was removed earlier today in Thomas's PR[1], specifically in commit f3bef7aaa6c8 ("hrtimers: Delete hrtimer_init_sleeper_on_stack()"). [1] https://lore.kernel.org/all/173195758632.1896928.11371209657780930206.tglx@xen13/
On Mon, Nov 18, 2024 at 05:06:46PM -0500, Sasha Levin wrote: >Hi Jens, Thomas, > >On Mon, Nov 18, 2024 at 07:22:59AM -0700, Jens Axboe wrote: >>hexue (1): >> io_uring: add support for hybrid IOPOLL > >After merging of this pull request into linus-next, I've started seeing >build errors: > >/builds/linux/io_uring/rw.c: In function 'io_hybrid_iopoll_delay': >/builds/linux/io_uring/rw.c:1179:2: error: implicit declaration of function 'hrtimer_init_sleeper_on_stack'; did you mean 'hrtimer_setup_sleeper_on_stack'? [-Werror=implicit-function-declaration] > hrtimer_init_sleeper_on_stack(&timer, CLOCK_MONOTONIC, mode); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > hrtimer_setup_sleeper_on_stack > >This is because 01ee194d1aba ("io_uring: add support for hybrid IOPOLL") >adds a call to hrtimer_init_sleeper_on_stack() which was removed earlier >today in Thomas's PR[1], specifically in commit f3bef7aaa6c8 >("hrtimers: Delete hrtimer_init_sleeper_on_stack()"). Linus, Looks like this is a simple s/hrtimer_init_sleeper_on_stack/hrtimer_setup_sleeper_on_stack , so this issue could be addressed by replacing the new call with hrtimer_setup_sleeper_on_stack() either in the io_uring or the timers/core merge, whichever you pull last.
On 11/18/24 3:06 PM, Sasha Levin wrote: > Hi Jens, Thomas, > > On Mon, Nov 18, 2024 at 07:22:59AM -0700, Jens Axboe wrote: >> hexue (1): >> io_uring: add support for hybrid IOPOLL > > After merging of this pull request into linus-next, I've started seeing > build errors: > > /builds/linux/io_uring/rw.c: In function 'io_hybrid_iopoll_delay': > /builds/linux/io_uring/rw.c:1179:2: error: implicit declaration of function 'hrtimer_init_sleeper_on_stack'; did you mean 'hrtimer_setup_sleeper_on_stack'? [-Werror=implicit-function-declaration] > hrtimer_init_sleeper_on_stack(&timer, CLOCK_MONOTONIC, mode); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > hrtimer_setup_sleeper_on_stack > > This is because 01ee194d1aba ("io_uring: add support for hybrid IOPOLL") > adds a call to hrtimer_init_sleeper_on_stack() which was removed earlier > today in Thomas's PR[1], specifically in commit f3bef7aaa6c8 > ("hrtimers: Delete hrtimer_init_sleeper_on_stack()"). Right, forgot to mention that. linux-next has been carrying a fixup for that which I was going to link, but it's not on a public list for some reason. In any case, it's trivial to fixup, just change hrtimer_init_sleeper_on_stack(&timer, CLOCK_MONOTONIC, mode); to hrtimer_setup_sleeper_on_stack(&timer, CLOCK_MONOTONIC, mode); in io_uring/rw.c while merging either of the two trees that go in last. FWIW, this kind of change should be done before -rc1 rather than be queued up earlier. That's usually the best way to do these things and avoid -next or merge window breakage. I'm guessing this tree isn't the only one going to get hit by that.
On 11/18/24 4:27 PM, Jens Axboe wrote: > On 11/18/24 3:06 PM, Sasha Levin wrote: >> Hi Jens, Thomas, >> >> On Mon, Nov 18, 2024 at 07:22:59AM -0700, Jens Axboe wrote: >>> hexue (1): >>> io_uring: add support for hybrid IOPOLL >> >> After merging of this pull request into linus-next, I've started seeing >> build errors: >> >> /builds/linux/io_uring/rw.c: In function 'io_hybrid_iopoll_delay': >> /builds/linux/io_uring/rw.c:1179:2: error: implicit declaration of function 'hrtimer_init_sleeper_on_stack'; did you mean 'hrtimer_setup_sleeper_on_stack'? [-Werror=implicit-function-declaration] >> hrtimer_init_sleeper_on_stack(&timer, CLOCK_MONOTONIC, mode); >> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >> hrtimer_setup_sleeper_on_stack >> >> This is because 01ee194d1aba ("io_uring: add support for hybrid IOPOLL") >> adds a call to hrtimer_init_sleeper_on_stack() which was removed earlier >> today in Thomas's PR[1], specifically in commit f3bef7aaa6c8 >> ("hrtimers: Delete hrtimer_init_sleeper_on_stack()"). > > Right, forgot to mention that. linux-next has been carrying a fixup for > that which I was going to link, but it's not on a public list for some > reason. My bad, it is on lkml: https://lore.kernel.org/lkml/20241108143328.6d819fcb@canb.auug.org.au/
The pull request you sent on Mon, 18 Nov 2024 07:22:59 -0700:
> git://git.kernel.dk/linux.git tags/for-6.13/io_uring-20241118
has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/8350142a4b4cedebfa76cd4cc6e5a7ba6a330629
Thank you!