On 1/30/17 16:45 , Youzhong Yang wrote:
> Thanks for helping out.
> 
> What I need is to set logical block size to something larger than 512, e.g.
> 4096. It doesn't work.
> 
> I guess the bug is here:
> 
> http://src.illumos.org/source/xref/illumos-gate/usr/src/uts/common/io/vioblk/vioblk.c#919
> 
> sc_capacity is in 512B, needs to be converted to logical blocks. I will
> test the patch and report back.

I agree, that definitely appears to be wrong.

Robert


-------------------------------------------
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb
Powered by Listbox: http://www.listbox.com

Reply via email to