Move "ack write" debug message
This commit is contained in:
@@ -351,10 +351,6 @@ resume_4:
|
||||
return 1;
|
||||
}
|
||||
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
|
||||
if (!PRIV(op)->is_big && throttle_small_writes)
|
||||
{
|
||||
@@ -386,9 +382,11 @@ resume_6:
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
resume_8:
|
||||
// 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;
|
||||
heap->mark_lsn_completed(PRIV(op)->lsn);
|
||||
write_iodepth--;
|
||||
|
||||
Reference in New Issue
Block a user