Patially replace io operation