Compare commits
1 Commits
ce73402bb9
...
3261e27f03
Author | SHA1 | Date |
---|---|---|
|
3261e27f03 |
src/osd
|
@ -46,6 +46,10 @@ void osd_t::autosync()
|
|||
void osd_t::finish_op(osd_op_t *cur_op, int retval)
|
||||
{
|
||||
inflight_ops--;
|
||||
if (cur_op->req.hdr.opcode == OSD_OP_WRITE)
|
||||
{
|
||||
printf("%jx %jx+%x v%jx r=%d\n", cur_op->req.rw.inode, cur_op->req.rw.offset, cur_op->req.rw.len, cur_op->reply.rw.version, retval);
|
||||
}
|
||||
if (cur_op->req.hdr.opcode == OSD_OP_READ ||
|
||||
cur_op->req.hdr.opcode == OSD_OP_WRITE ||
|
||||
cur_op->req.hdr.opcode == OSD_OP_DELETE)
|
||||
|
|
Loading…
Reference in New Issue