Move "ack write" debug message
This commit is contained in:
@@ -351,10 +351,6 @@ resume_4:
|
|||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
resume_6:
|
resume_6:
|
||||||
{
|
|
||||||
#ifdef BLOCKSTORE_DEBUG
|
|
||||||
printf("Ack write %jx:%jx v%ju\n", op->oid.inode, op->oid.stripe, op->version);
|
|
||||||
#endif
|
|
||||||
// Apply throttling to not fill the journal too fast for the SSD+HDD case
|
// Apply throttling to not fill the journal too fast for the SSD+HDD case
|
||||||
if (!PRIV(op)->is_big && throttle_small_writes)
|
if (!PRIV(op)->is_big && throttle_small_writes)
|
||||||
{
|
{
|
||||||
@@ -386,9 +382,11 @@ resume_6:
|
|||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
resume_8:
|
resume_8:
|
||||||
// Acknowledge write
|
// Acknowledge write
|
||||||
|
#ifdef BLOCKSTORE_DEBUG
|
||||||
|
printf("Ack write %jx:%jx v%ju\n", op->oid.inode, op->oid.stripe, op->version);
|
||||||
|
#endif
|
||||||
op->retval = op->len;
|
op->retval = op->len;
|
||||||
heap->mark_lsn_completed(PRIV(op)->lsn);
|
heap->mark_lsn_completed(PRIV(op)->lsn);
|
||||||
write_iodepth--;
|
write_iodepth--;
|
||||||
|
|||||||
Reference in New Issue
Block a user