Re: write call hangs in kernel space after virtio hot-remove

2018-05-09 Thread Jan Kara
On Thu 03-05-18 10:48:20, Matthew Wilcox wrote: > On Thu, May 03, 2018 at 12:05:14PM -0400, Jeff Layton wrote: > > On Thu, 2018-05-03 at 16:42 +0200, Jan Kara wrote: > > > On Wed 25-04-18 17:07:48, Fabiano Rosas wrote: > > > > I'm looking into an issue where removing a virtio disk via sysfs while

Re: write call hangs in kernel space after virtio hot-remove

2018-05-03 Thread Matthew Wilcox
On Thu, May 03, 2018 at 12:05:14PM -0400, Jeff Layton wrote: > On Thu, 2018-05-03 at 16:42 +0200, Jan Kara wrote: > > On Wed 25-04-18 17:07:48, Fabiano Rosas wrote: > > > I'm looking into an issue where removing a virtio disk via sysfs while > > > another > > > process is issuing write() calls

Re: write call hangs in kernel space after virtio hot-remove

2018-05-03 Thread Jeff Layton
On Thu, 2018-05-03 at 16:42 +0200, Jan Kara wrote: > On Wed 25-04-18 17:07:48, Fabiano Rosas wrote: > > I'm looking into an issue where removing a virtio disk via sysfs while > > another > > process is issuing write() calls results in the writing task going into a > > livelock: > > > > > >

Re: write call hangs in kernel space after virtio hot-remove

2018-05-03 Thread Jan Kara
On Wed 25-04-18 17:07:48, Fabiano Rosas wrote: > I'm looking into an issue where removing a virtio disk via sysfs while another > process is issuing write() calls results in the writing task going into a > livelock: > > > root@guest # cat test.sh > #!/bin/bash > > dd if=/dev/zero of=/dev/vda

Re: write call hangs in kernel space after virtio hot-remove

2018-04-27 Thread Fabiano Rosas
On 2018-04-26 18:10, Tetsuo Handa wrote: > Anyway, since Fabiano has a reproducer, I appreciate trying a patch at > https://groups.google.com/forum/#!msg/syzkaller-bugs/qeR_1VM0UvU/1zcLE0Y4BAAJ > . Regarding the "INFO: task hung in wb_shutdown (2)" report mentioned above, I can't find a

Re: write call hangs in kernel space after virtio hot-remove

2018-04-26 Thread Tetsuo Handa
Tejun Heo wrote: > (cc'ing Tetuso and quoting whole message) > > Tetuso, could this be the same problem as the hang in wb_shutdown() > syszbot reported? Excuse me, but I'm too unfamiliar to judge it. ;-) Anyway, since Fabiano has a reproducer, I appreciate trying a patch at

Re: write call hangs in kernel space after virtio hot-remove

2018-04-26 Thread Tejun Heo
(cc'ing Tetuso and quoting whole message) Tetuso, could this be the same problem as the hang in wb_shutdown() syszbot reported? On Wed, Apr 25, 2018 at 05:07:48PM -0300, Fabiano Rosas wrote: > I'm looking into an issue where removing a virtio disk via sysfs while another > process is issuing

write call hangs in kernel space after virtio hot-remove

2018-04-25 Thread Fabiano Rosas
I'm looking into an issue where removing a virtio disk via sysfs while another process is issuing write() calls results in the writing task going into a livelock: root@guest # cat test.sh #!/bin/bash dd if=/dev/zero of=/dev/vda bs=1M count=1 & sleep 1 echo 1 >