]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
osd: clear osd op reply output only when writes success
authorhuangjun <huangjun@xsky.com>
Tue, 26 Feb 2019 14:06:22 +0000 (22:06 +0800)
committerhuangjun <huangjun@xsky.com>
Thu, 28 Feb 2019 01:48:08 +0000 (09:48 +0800)
commite205b71072cbdd6668ebd848ed6a83a7cdfcc5c3
treeffe7ccc6c2175999bc3c5190ad00f08ba2d10780
parent59a99dfbd7f652d595bc2ada2c41a05cfc4484bd
osd: clear osd op reply output only when writes success

As described in https://github.com/ceph/ceph/commit/18f08cd9c0a3972149eef635fb1035dfc4fcb662,
if the op is failed, we should return data.

Fixes: http://tracker.ceph.com/issues/38492
Signed-off-by: huangjun <huangjun@xsky.com>
src/osd/OSD.cc