On 05/25/2012 04:28 PM, yaohaiting.wujue at gmail.com wrote: > + if (epoch == sys->epoch) { > + rw->cur_nr_nodes = sys->nr_nodes; > + memcpy(rw->cur_nodes, sys->nodes, sizeof(rw->cur_nodes)); > + vnodes = get_vnode_info(); > + rw->cur_nr_vnodes = vnodes->nr_vnodes; > + memcpy(rw->cur_vnodes, Since this is executed in worker thread, we must call sys_epoch() instead. Thanks, Yuan |