On Sunday 18 February 2007 01:41, Pawel Jakub Dawidek wrote: > I found few places where such situation occurs. I wonder how this got > unnoticed with ztest, which fails on me within a few seconds (after I > started to use Solaris atomic operations) on assertions. Maybe this > only doesn't work when compiled with gcc? Not sure, but most of the time > 64bit variables are used properly.
Hi Pawel, I've been using the Solaris assembly code for the atomic operation since the beginning, but lately zfs-fuse has been failing with assertions in that exact same piece of code of your patch: lib/libzpool/build-kernel/arc.c:736: arc_change_state: Assertion `new_state->size + to_delta >= new_state->lsize (0x1194000 >= 0x11a8000)` failed. Were you hitting this bug? Unfortunately your patch didn't fix this :( I'm having trouble figuring out this problem.. Thanks.