Re: [PATCH v2] virtio_blk: check for hardsector size from host

2008-05-29 Thread Rusty Russell
On Thursday 29 May 2008 19:08:26 Christian Borntraeger wrote: > 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

[PATCH v2] virtio_blk: check for hardsector size from host

2008-05-29 Thread Christian Borntraeger
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