commit | 89e4fdecb51cf5535867026274bc97de9480ade5 | [log] [tgz] |
---|---|---|
author | Omar Sandoval <osandov@fb.com> | Thu Aug 24 00:03:43 2017 -0700 |
committer | Jens Axboe <axboe@kernel.dk> | Thu Aug 31 13:51:14 2017 -0600 |
tree | e0cbe2e118ea5ac8ff05a3bb8323d4142545335c | |
parent | 6c6b6f28b3335fd85ec833ee0005d9c9dca6c003 [diff] |
loop: add ioctl for changing logical block size This is a different approach from the first attempt in f2c6df7dbf9a ("loop: support 4k physical blocksize"). Rather than extending LOOP_{GET,SET}_STATUS, add a separate ioctl just for setting the block size. Reviewed-by: Ming Lei <ming.lei@redhat.com> Reviewed-by: Hannes Reinecke <hare@suse.com> Signed-off-by: Omar Sandoval <osandov@fb.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>