commit | f2c6df7dbf9a60e1cd9941f9fb376d4d9ad1e8dd | [log] [tgz] |
---|---|---|
author | Hannes Reinecke <hare@suse.de> | Thu Jun 08 13:46:45 2017 +0200 |
committer | Jens Axboe <axboe@fb.com> | Thu Jun 08 08:40:00 2017 -0600 |
tree | 79a9c0d9627fa253955532d6925e9606e1643f72 | |
parent | 51001b7da364a24ed2464f3c22179efdc6b3a960 [diff] |
loop: support 4k physical blocksize 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 blocksize. Signed-off-by: Hannes Reinecke <hare@suse.com> Signed-off-by: Jens Axboe <axboe@fb.com>