Re: [PATCH] nbd: use dev_err_ratelimited in io path

2016-12-08 Thread Jens Axboe
On 12/05/2016 02:20 PM, Josef Bacik wrote: > While doing stress tests we noticed that we'd get a lot of dmesg spam if > we suddenly disconnected teh nbd device out of band. Rate limite the > messages in the io path in order to deal with this. Added, with fixed up spelling. -- Jens Axboe -- To

Re: [Nbd] [PATCH] nbd: use dev_err_ratelimited in io path

2016-12-05 Thread Josef Bacik
On Mon, Dec 5, 2016 at 4:27 PM, Eric Blake wrote: On 12/05/2016 03:20 PM, Josef Bacik wrote: While doing stress tests we noticed that we'd get a lot of dmesg spam if we suddenly disconnected teh nbd device out of band. Rate limite the s/teh/the/ s/limite/limit/

[PATCH] nbd: use dev_err_ratelimited in io path

2016-12-05 Thread Josef Bacik
While doing stress tests we noticed that we'd get a lot of dmesg spam if we suddenly disconnected teh nbd device out of band. Rate limite the messages in the io path in order to deal with this. Signed-off-by: Josef Bacik --- drivers/block/nbd.c | 23 --- 1