Re: [Nbd] NBD: Disconnect connection/kill NBD server cause kernel bug even kernel hang

2015-10-07 Thread Pavel Machek
On Mon 2015-09-21 17:33:21, Sheng Yang wrote: > Thank you Paul! That's exactly the issue I met. I've read the whole > thread and got a general idea of the issue. > > I try to summarize it and please correct me if I'm wrong: > > 1. The issue is the result of kill_bdev() when connection has been cu

Re: [Nbd] NBD: Disconnect connection/kill NBD server cause kernel bug even kernel hang

2015-09-23 Thread Markus Pargmann
Hi, Thanks for the pointer Paul. On Mon, Sep 21, 2015 at 05:33:21PM -0700, Sheng Yang wrote: > Thank you Paul! That's exactly the issue I met. I've read the whole > thread and got a general idea of the issue. > > I try to summarize it and please correct me if I'm wrong: > > 1. The issue is the

Re: [Nbd] NBD: Disconnect connection/kill NBD server cause kernel bug even kernel hang

2015-09-21 Thread Sheng Yang
Thank you Paul! That's exactly the issue I met. I've read the whole thread and got a general idea of the issue. I try to summarize it and please correct me if I'm wrong: 1. The issue is the result of kill_bdev() when connection has been cut when IO is still flying. 2. Other block devices driver d

Re: [Nbd] NBD: Disconnect connection/kill NBD server cause kernel bug even kernel hang

2015-09-21 Thread Sheng Yang
Thank you Wouter! (Add back lkml since I got another kernel issue...) In fact I just hit another issue with nbd-server/client on the same machine. The following commands hang after a while: dd if=/dev/zero of=./test When process hanging, dd/nbd-server are no long showing in high cpu utilization