> 512 looks wrong now that size is the number of logical blocks. The patch is entirely wrong, and only happen to work for the case I was testing by accident. I'll resend a fixed version after I created a little userspace test harness for all useful values.
- [Qemu-devel] [PATCH] block: fix physical_block_size calc... Christoph Hellwig
- Re: [Qemu-devel] [PATCH] block: fix physical_block_... Kevin Wolf
- Re: [Qemu-devel] [PATCH] block: fix physical_bl... Christoph Hellwig