Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
"Buffer I/O error" regression between kernels 4.11 and 4.12 #57
Comments
alkisg
changed the title from
"Buffer I/O error" regression between kernels 4.8 and 4.10
to
"Buffer I/O error" regression between kernels 4.11 and 4.12
Sep 30, 2017
alkisg
commented
Sep 30, 2017
|
Ubuntu uses patched kernels with various backports, so the numbers were misleading. I also saw that to make things 100% reproducible, I needed to call
|
alkisg
commented
Sep 30, 2017
|
I also tested on Debian Stretch:
|
|
Are you saying that the problem does not exist in the most recent kernels you could find? Or do I misunderstand you there? |
alkisg
commented
Oct 2, 2017
|
Hi Wouter, let me phrase it better, the problem started with kernel 4.12 and is still happening in the most recent kernel I could find, which was 4.14-rc2. |
|
Oh, okay then. @josefbacik, any idea? |
josefbacik
commented
Oct 5, 2017
|
Oops, I'll take a look in the morning. |
josefbacik
commented
Oct 5, 2017
|
Oh actually I think this is my timeout patch that I fixed later, can you try Linus master? |
alkisg
commented
Oct 6, 2017
|
Hi Josef, I tried the latest vanilla kernel from Ubuntu's daily builds and the problem still happens there: I.e. Linux master torvalds/linux@42b76d0 |
josefbacik
commented
Oct 9, 2017
|
Alright got it nailed down, sorry about that, apparently all of my regression tests only do the netlink interface, save the one that checks that the ioctl and netlink interfaces behave with eachother. I've submitted the patch [PATCH] nbd: don't set the device size until we're connected to fix it and cc'ed stable so it'll make its way back to distro kernels. @yoe sorry, I thought I had updated the mailinglist but accidentally sent it to the old sf list. I've fixed my stuff so that won't happen again. |
alkisg
commented
Oct 10, 2017
|
Thanks a lot! I'll try to detect when it lands on daily builds, so that I can test it. |
alkisg commentedSep 29, 2017
•
Edited 1 time
-
alkisg
Sep 30, 2017
Using Ubuntu 16.04, nbd-server and client=1:3.13-1.
a) With mainline (vanilla) kernel 4.11.12 on the client, the commands below run fine without errors.
b) Then I upgrade to mainline kernel 4.12.0, and I run again:
And I see the following errors:
I can reproduce this in many installations, real or VMs.
Thanks!