Re: [PATCH] loop: Fix freeze if configured block size is not supported

2017-08-21 Thread Milan Broz
On 08/21/2017 08:47 PM, Omar Sandoval wrote: > On Fri, Aug 18, 2017 at 03:07:33PM +0200, Milan Broz wrote: >> The commit f2c6df7dbf9a60e1cd9941f9fb376d4d9ad1e8dd >> >> loop: support 4k physical blocksize >> >> adds support for loop block size with only specific block sizes. >> >> If the size

Re: [PATCH] loop: Fix freeze if configured block size is not supported

2017-08-21 Thread Omar Sandoval
On Fri, Aug 18, 2017 at 03:07:33PM +0200, Milan Broz wrote: > The commit f2c6df7dbf9a60e1cd9941f9fb376d4d9ad1e8dd > > loop: support 4k physical blocksize > > adds support for loop block size with only specific block sizes. > > If the size is not supported, the code returns -EINVAL keeping >

[PATCH] loop: Fix freeze if configured block size is not supported

2017-08-18 Thread Milan Broz
The commit f2c6df7dbf9a60e1cd9941f9fb376d4d9ad1e8dd loop: support 4k physical blocksize adds support for loop block size with only specific block sizes. If the size is not supported, the code returns -EINVAL keeping the loop queue frozen. This causes that device could be locked for a long