qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v2] block: fix physical_block_size calculation


From: Kevin Wolf
Subject: Re: [Qemu-devel] [PATCH v2] block: fix physical_block_size calculation
Date: Wed, 16 Jun 2010 16:57:16 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100430 Fedora/3.0.4-2.fc12 Thunderbird/3.0.4

Am 15.06.2010 17:52, schrieb Christoph Hellwig:
> Both SCSI and virtio expect the physical block size relative to the
> logical block size.  So get the factor first before calculating the
> log2.  
> 
> Reported-by: Mike Cao <address@hidden>
> Signed-off-by: Christoph Hellwig <address@hidden>

This one looks better. Fixed whitespace errors and applied to the block
branch.

Kevin



reply via email to

[Prev in Thread] Current Thread [Next in Thread]