Daniel Alder:
> As far as I know bsize is defined as a power of 2, so 1234 is not possible.

Yes, the bsize has to be a multiply of 512. But fs can set any value to
it. Of course, I'd say such value is weird.


> For your understanding, why multiplication is necessary:
>
> Layer 0: 7 blocks of bsize 131072
> Layer 1: 5 blocks of bsize 4096
>
> The sum is either
>
> (7*131072/131072 + 5*4096/131072 + ...) if reported bsize is 131072
> (7*131072/4096 + 5*4096/4096 + ...) if reported bsize is 4096

No.
We don't have to calculate it by the unit of byte. The unit should be
block. So the sum should be either (7+1)=8 or (7*32+5)=229.
Don't you think so?


> 1/3 was not manually edited. Why do you think it is?

If you look at the patch 1/3 you sent again, you would notice two
issues.
- last two lines don't contain the space at the top of the line.
- diff(1) produces 3 lines after the change (by default?) and patch(1)
  expects the same amount of lines. But the 1/3 has only two.


J. R. Okajima

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/

Reply via email to