copy_tag_nolock(): fix write ordering and add a write_barrier()