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

4 則留言:

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

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!!