diff options
author | Christian Borntraeger <borntraeger@de.ibm.com> | 2008-05-29 11:08:26 +0200 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2008-07-25 12:06:05 +1000 |
commit | 066f4d82a67f621ddd547bfa4b9c94631d8457b0 (patch) | |
tree | 96bdeadd9af5b16476186df0ea8056175bc16cbb /drivers/base/sys.c | |
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>
Diffstat (limited to 'drivers/base/sys.c')
0 files changed, 0 insertions, 0 deletions