Move "ack write" debug message

This commit is contained in:
Vitaliy Filippov
2025-12-02 01:52:12 +03:00
parent 11783a2d7a
commit a9773b1908
+3 -5
View File
@@ -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--;