metaslab.c revision c3d26abc9ee97b4f60233556aadeb57e0bd30bb9