Ensure to read all io in error cases
Ensure to read all io in error cases

Signed-off-by: Qiang Huang <488e06933c295c76472a67dbc6657ac40a756953@huawei.com>

crosbymichael/containerd,lichao-mobanche/containerd,estesp/containerd,thaJeztah/containerd,vdemeester/containerd,vdemeester/containerd,kunalkushwaha/containerd,kunalkushwaha/containerd,estesp/containerd,containerd/containerd,dmcgowan/containerd,Wolphin-project/containerd,xiekeyang/containerd,crosbymichael/containerd,miaoyq/containerd,chanezon/containerd,yuexiao-wang/containerd,containerd/containerd,mikebrow/containerd,AkihiroSuda/containerd,miaoyq/containerd,docker/containerd,hqhq/containerd,thaJeztah/containerd,rajasec/containerd,dmcgowan/containerd,mikebrow/containerd