On Thu, Dec 17, 2009 at 3:06 PM, Marco Peereboom <sl...@peereboom.us> wrote:
> The issue isn't the 4k blocks.  The issues are the 512 bytes constants
> or 1 << 9  or DEV_BSHIFT or DEV_BSIZE that are all over the tree.  I
> know for a fact that softraid is busted with these devices and you can
> bet that the wrong assumption has been made in other places as well.
>
> Making these drives work will be painful.  But we could start with the
> 520 byte ones ;-)
>

Looks to me like QEMU has the same issue.

block.c - lines 38 and 39:
---
#define SECTOR_BITS 9
#define SECTOR_SIZE (1 << SECTOR_BITS)
---

:)

--
Aaron Mason - Programmer, open source addict
I've taken my software vows - for beta or for worse

Reply via email to