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

2017-06-07 Thread Omar Sandoval
On Fri, Apr 07, 2017 at 10:59:29PM +0800, Ming Lei wrote: > On Fri, Apr 07, 2017 at 12:50:57PM +0200, Hannes Reinecke wrote: > > When generating bootable VM images certain systems (most notably > > s390x) require devices with 4k blocksize. This patch implements > > a new flag 'LO_FLAGS_BLOCKSIZE' w

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

2017-04-07 Thread Ming Lei
On Fri, Apr 07, 2017 at 12:50:57PM +0200, Hannes Reinecke wrote: > When generating bootable VM images certain systems (most notably > s390x) require devices with 4k blocksize. This patch implements > a new flag 'LO_FLAGS_BLOCKSIZE' which will set the physical > blocksize to that of the underlying d

[PATCHv7 2/2] loop: support 4k physical blocksize

2017-04-07 Thread Hannes Reinecke
When generating bootable VM images certain systems (most notably s390x) require devices with 4k blocksize. This patch implements a new flag 'LO_FLAGS_BLOCKSIZE' which will set the physical blocksize to that of the underlying device, and allow to change the logical blocksize for up to the physical b