Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

bcachefs: Disable debug log statements

The journal read path had some informational log statements preperatory
for ZNS support - they're not of interest to users, so we can turn them
off.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>

+7
+7
fs/bcachefs/journal_io.c
··· 1079 1079 1080 1080 if (ja->bucket_seq[ja->cur_idx] && 1081 1081 ja->sectors_free == ca->mi.bucket_size) { 1082 + #if 0 1083 + /* 1084 + * Debug code for ZNS support, where we (probably) want to be 1085 + * correlated where we stopped in the journal to the zone write 1086 + * points: 1087 + */ 1082 1088 bch_err(c, "ja->sectors_free == ca->mi.bucket_size"); 1083 1089 bch_err(c, "cur_idx %u/%u", ja->cur_idx, ja->nr); 1084 1090 for (i = 0; i < 3; i++) { ··· 1092 1086 1093 1087 bch_err(c, "bucket_seq[%u] = %llu", idx, ja->bucket_seq[idx]); 1094 1088 } 1089 + #endif 1095 1090 ja->sectors_free = 0; 1096 1091 } 1097 1092