Move "ack write" debug message

This commit is contained in:
Vitaliy Filippov
2025-11-23 19:08:23 +03:00
parent 2afb16cd19
commit 38faa21966
+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--;