Whamcloud - gitweb
LU-8081 osd-ldiskfs: improve transaction debug message
[fs/lustre-release.git] / lustre / osd-ldiskfs / osd_handler.c
index fc4f980..4af9a09 100644 (file)
@@ -1681,6 +1681,8 @@ static int osd_trans_start(const struct lu_env *env, struct dt_device *d,
                    time_after(jiffies, last_printed +
                               msecs_to_jiffies(60 * MSEC_PER_SEC)) &&
                    osd_transaction_size(dev) > 512) {
+                       CWARN("%s: credits %u > trans_max %u\n", osd_name(dev),
+                             oh->ot_credits, osd_transaction_size(dev));
                        osd_trans_dump_creds(env, th);
                        libcfs_debug_dumpstack(NULL);
                        last_credits = oh->ot_credits;