[PATCH] brd: fix brd_rw_page() vs copy_to_brd_setup errors

2017-07-25 Thread Dan Williams
As is done in zram_rw_page, pmem_rw_page, and btt_rw_page, don't call page_endio in the error case since do_mpage_readpage and __mpage_writepage will resubmit on error. Calling page_endio in the error case leads to double completion. Cc: Jens Axboe Cc: Matthew Wilcox

[BUG] nvme driver crash

2017-07-25 Thread Shaohua Li
Disable CONIFG_SMP, kernel crashes at boot time, here is the log. [9.593590] nvme :00:03.0: can't allocate MSI-X affinity masks for 1 vectors [9.595189] == [9.595834] BUG: KASAN: null-ptr-deref in

Re: [Xen-users] File-based domU - Slow storage write since xen 4.8

2017-07-25 Thread Keith Busch
On Fri, Jul 21, 2017 at 07:07:06PM +0200, Benoit Depail wrote: > On 07/21/17 18:07, Roger Pau Monné wrote: > > > > Hm, I'm not sure I follow either. AFAIK this problem came from > > changing the Linux version in the Dom0 (where the backend, blkback is > > running), rather than in the DomU right?

Re: [PATCH] nbd: clear disconnected on reconnect

2017-07-25 Thread Jens Axboe
On 07/25/2017 11:31 AM, jo...@toxicpanda.com wrote: > From: Josef Bacik > > If our device loses its connection for longer than the dead timeout we > will set NBD_DISCONNECTED in order to quickly fail any pending IO's that > flood in after the IO's that were waiting during the dead

[PATCH] nbd: clear disconnected on reconnect

2017-07-25 Thread josef
From: Josef Bacik If our device loses its connection for longer than the dead timeout we will set NBD_DISCONNECTED in order to quickly fail any pending IO's that flood in after the IO's that were waiting during the dead timer. However if we re-connect at some point in the future

Re: bfq/ext4 disk IO hangs forever on resume

2017-07-25 Thread Jens Axboe
On 07/25/2017 02:51 AM, Jan Kara wrote: > Hello, > > On Sun 25-06-17 23:07:56, Alex Xu wrote: >> I get hangs when resuming when using bfq-mq with ext4 on 4.12-rc6+ >> (currently a4fd8b3accf43d407472e34403d4b0a4df5c0e71). >> >> Steps to reproduce: >> 1. boot computer >> 2. systemctl suspend >> 3.

Re: [Nbd] [PATCH 1/3] nbd: allow multiple disconnects to be sent

2017-07-25 Thread Wouter Verhelst
On Mon, Jul 24, 2017 at 07:24:30PM -0400, Josef Bacik wrote: > On Mon, Jul 24, 2017 at 10:08:21PM +0200, Wouter Verhelst wrote: > > On Fri, Jul 21, 2017 at 10:48:13AM -0400, jo...@toxicpanda.com wrote: > > > From: Josef Bacik > > > > > > There's no reason to limit ourselves to one