Hi,

I've received a bug report in zfs-fuse that doesn't seem to be specific to the 
port.
The problem was introduced in arc.c revision 1.15. There's a new static 
variable arc_min_prefetch_lifespan that initially is 1 second but it is 
converted to clock ticks in arc_init():

        /* Convert seconds to clock ticks */
        arc_min_prefetch_lifespan *= hz;

However, arc_init() is called more than once in ztest, so 
arc_min_prefetch_lifespan keeps getting multiplied by hz (119).

This results in an almost infinite loop in arc_flush(), since arc_evict() 
skips prefetch buffers with a lifespan less than (in my particular test-case) 
119*119*119 seconds..

Reply via email to