2008年1月25日 星期五

zfs 雷

i386 跑 zfs 很容易會遇到 kmem_map too small,然後 panic。(搞錯了,不是這個 patch,請看下一篇)

剛才 rafan 貼了一段 message 給我

Change type of kmem_used() and kmem_size() functions to uint64_t, so it
doesn't overflow in arc.c in this check:

if (kmem_used() > (kmem_size() * 4) / 5)
return (1);

With this bug ZFS almost doesn't cache.

Only 32bit machines are affected that have vm.kmem_size set to values >=1GB.


src/sys/compat/opensolaris/kern/opensolaris_kmem.c#rev1.3,還有 diff


搞笑 XD

11 則留言:

바카라사이트 추천 提到...

Pretty! This has been an wonderful post. Thanks for supplying this info.

안전놀이터 提到...

This was an incredible post. Really loved studying this site post. Great job!

토토사이트 순위 提到...

I hope you continue to do this awesome blog work, I support you for your writing

안전한 파워볼사이트 提到...

Awesome article you write, it was exceptionally helpful data here! Cheers!!

카지노사이트 提到...

this is probably the best. D.

토토사이트 提到...

most concise step by step guide. D.

안전놀이터 提到...

I have ever seen on like this post. D.

소액결제 현금화 提到...

Thank you for such a nice and informative blog.
D.

신용카드 현금화 提到...

Just pure classic stuff from you here. D.

바카라사이트 提到...

I have never seen such a brilliantly written article in a long time. D.

파워볼사이트 提到...

I am thankful to you that you produced this! D.