Re: [PATCH 0/10 v11] No wait AIO

2017-06-09 Thread Al Viro
On Thu, Jun 08, 2017 at 12:39:10AM -0700, Christoph Hellwig wrote: > As already indicated this whole series looks fine to me. > > Al: are you going to pick this up? Or Andrew? The main issue here is "let's bail out from ->write_iter() instances" patch. It very obviously has holes in coverage.

Re: [PATCH 04/10] fs: Introduce RWF_NOWAIT

2017-06-09 Thread Al Viro
On Tue, Jun 06, 2017 at 06:19:33AM -0500, Goldwyn Rodrigues wrote: > From: Goldwyn Rodrigues > > RWF_NOWAIT informs kernel to bail out if an AIO request will block > for reasons such as file allocations, or a writeback triggered, > or would block while allocating requests while performing > direc

patch "pktcdvd: use class_groups instead of class_attrs" added to driver-core-next

2017-06-09 Thread gregkh
This is a note to let you know that I've just added the patch titled pktcdvd: use class_groups instead of class_attrs to my driver-core git tree which can be found at git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git in the driver-core-next branch. The patch will show

Re: [PATCHv8 2/2] loop: support 4k physical blocksize

2017-06-09 Thread Jens Axboe
On 06/09/2017 09:30 AM, Bart Van Assche wrote: > On 06/08/17 04:46, Hannes Reinecke wrote: >> if (lo->lo_offset != info->lo_offset || >> -lo->lo_sizelimit != info->lo_sizelimit) >> -if (figure_loop_size(lo, info->lo_offset, info->lo_sizelimit)) { >> +lo->lo_sizelimi

Re: [PATCHv8 2/2] loop: support 4k physical blocksize

2017-06-09 Thread Bart Van Assche
On 06/08/17 04:46, Hannes Reinecke wrote: > if (lo->lo_offset != info->lo_offset || > - lo->lo_sizelimit != info->lo_sizelimit) > - if (figure_loop_size(lo, info->lo_offset, info->lo_sizelimit)) { > + lo->lo_sizelimit != info->lo_sizelimit || > + lo->lo_fla

Re: dedicated error codes for the block layer V3

2017-06-09 Thread Jens Axboe
On Sat, Jun 03 2017, Christoph Hellwig wrote: > This series introduces a new blk_status_t error code type for the block > layer so that we can have tigher control and explicit semantics for > block layer errors. > > All but the last three patches are cleanups that lead to the new type. > > The se

Re: dedicated error codes for the block layer V3

2017-06-09 Thread Jens Axboe
On Fri, Jun 09 2017, Mike Snitzer wrote: > On Thu, Jun 08 2017 at 11:42am -0400, > Jens Axboe wrote: > > > On 06/03/2017 01:37 AM, Christoph Hellwig wrote: > > > This series introduces a new blk_status_t error code type for the block > > > layer so that we can have tigher control and explicit sem

Re: dedicated error codes for the block layer V3

2017-06-09 Thread Mike Snitzer
On Thu, Jun 08 2017 at 11:42am -0400, Jens Axboe wrote: > On 06/03/2017 01:37 AM, Christoph Hellwig wrote: > > This series introduces a new blk_status_t error code type for the block > > layer so that we can have tigher control and explicit semantics for > > block layer errors. > > > > All but t

Re: [PATCH] nbd: set sk->sk_sndtimeo for our sockets

2017-06-09 Thread Jens Axboe
On 06/08/2017 01:39 PM, jo...@toxicpanda.com wrote: > From: Josef Bacik > > If the nbd server stops receiving packets altogether we will get stuck > waiting for them to receive indefinitely as the tcp buffer will never > empty, which looks like a deadlock. Fix this by setting the sk send > timeo

[GIT PULL] Block changes for 4.12-rc

2017-06-09 Thread Jens Axboe
Hi Linus, A set of fixes in the area of block IO, that should go into the next -rc release. This pull request contains: - An OOPS fix from Dmitry, fixing a regression with the bio integrity code in this series. - Fix truncation of elevator io context cache name, from Eric Biggers. - NVMe pull

patch "pktcdvd: use class_groups instead of class_attrs" added to driver-core-testing

2017-06-09 Thread gregkh
This is a note to let you know that I've just added the patch titled pktcdvd: use class_groups instead of class_attrs to my driver-core git tree which can be found at git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git in the driver-core-testing branch. The patch will s