orangefs: do not return successful read when the client-core disappeared
Signed-off-by: Martin Brandenburg <martin@omnibond.com> Signed-off-by: Mike Marshall <hubcap@omnibond.com>
This commit is contained in:
committed by
Mike Marshall
parent
85ac799cf9
commit
43f3457604
@ -169,7 +169,10 @@ populate_shared_memory:
|
|||||||
* trigger the write.
|
* trigger the write.
|
||||||
*/
|
*/
|
||||||
case OP_VFS_STATE_INPROGR:
|
case OP_VFS_STATE_INPROGR:
|
||||||
ret = total_size;
|
if (type == ORANGEFS_IO_READ)
|
||||||
|
ret = -EINTR;
|
||||||
|
else
|
||||||
|
ret = total_size;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
gossip_err("%s: unexpected op state :%d:.\n",
|
gossip_err("%s: unexpected op state :%d:.\n",
|
||||||
|
Reference in New Issue
Block a user