commit | 066f4d82a67f621ddd547bfa4b9c94631d8457b0 | [log] [tgz] |
---|---|---|
author | Christian Borntraeger <borntraeger@de.ibm.com> | Thu May 29 11:08:26 2008 +0200 |
committer | Rusty Russell <rusty@rustcorp.com.au> | Fri Jul 25 12:06:05 2008 +1000 |
tree | 96bdeadd9af5b16476186df0ea8056175bc16cbb | |
parent | e962fa660d391fc9b90988e6538c94c858c099f9 [diff] |
virtio_blk: check for hardsector size from host Currently virtio_blk assumes a 512 byte hard sector size. This can cause trouble / performance issues if the backing has a different block size (like a file on an ext3 file system formatted with 4k block size or a dasd). Lets add a feature flag that tells the guest to use a different hard sector size than 512 byte. Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>