[Sheepdog] race window accessing current_vnode_info?

tao.peng at emc.com tao.peng at emc.com
Thu May 3 08:16:49 CEST 2012


Hi list,

I was reading sheepdog code and noticed that in update_vnode_info(), if one thread calls get_vnode_info() between put_vnode_info(current_vnode_info) and current_vnode_info = vnode_info, it then will get an invalid pointer. So it looks like a race window there?

Best,
Tao


More information about the sheepdog mailing list