[zfs-code] Assertion in arc_change_state

2007-01-24 Thread Ricardo Correia
On Wednesday 24 January 2007 00:04, eric kustarz wrote: > Right, i would verify your locks are working correctly (especially > make sure atomic_add_64() is truly atomic). Note, these locks are in > the ARC - so they are not in the VFS. Yes, atomic_add_64() should be truly atomic, since I've taken

[zfs-code] Assertion in arc_change_state

2007-01-23 Thread Ricardo Correia
On Tuesday 23 January 2007 19:01, Ricardo Correia wrote: > My current code is tripping the following assertion: > lib/libzpool/build-kernel/arc.c:736: arc_change_state: Assertion > `new_state->size + to_delta >= new_state->lsize (0x2a6 >= 0x2a64000)` > failed. (snip) > (gdb) print new_state->

[zfs-code] Assertion in arc_change_state

2007-01-23 Thread Ricardo Correia
Hi, My current code is tripping the following assertion: lib/libzpool/build-kernel/arc.c:736: arc_change_state: Assertion `new_state->size + to_delta >= new_state->lsize (0x2a6 >= 0x2a64000)` failed. gdb info: Program terminated with signal 6, Aborted. #0 0x2afcd767847b in raise () fr

[zfs-code] Assertion in arc_change_state

2007-01-23 Thread Mark Shellenbaum
Ricardo Correia wrote: > On Wednesday 24 January 2007 00:04, eric kustarz wrote: >> Right, i would verify your locks are working correctly (especially >> make sure atomic_add_64() is truly atomic). Note, these locks are in >> the ARC - so they are not in the VFS. > > Yes, atomic_add_64() should b

[zfs-code] Assertion in arc_change_state

2007-01-23 Thread eric kustarz
On Jan 23, 2007, at 11:28 AM, Ricardo Correia wrote: > On Tuesday 23 January 2007 19:01, Ricardo Correia wrote: >> My current code is tripping the following assertion: >> lib/libzpool/build-kernel/arc.c:736: arc_change_state: Assertion >> `new_state->size + to_delta >= new_state->lsize (0x2a6