Add WRITE_STABLE to the secondary OSD for the upcoming replication support
This commit is contained in:
+1
-1
@@ -111,7 +111,7 @@ void stub_exec_op(osd_messenger_t *msgr, osd_op_t *op)
|
||||
op->buf = malloc(op->req.sec_rw.len);
|
||||
op->iov.push_back(op->buf, op->req.sec_rw.len);
|
||||
}
|
||||
else if (op->req.hdr.opcode == OSD_OP_SEC_WRITE)
|
||||
else if (op->req.hdr.opcode == OSD_OP_SEC_WRITE || op->req.hdr.opcode == OSD_OP_SEC_WRITE_STABLE)
|
||||
{
|
||||
op->reply.hdr.retval = op->req.sec_rw.len;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user