mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-28 22:54:05 +08:00
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>
This commit is contained in:
parent
f42fa17883
commit
497c57a303
@ -1079,6 +1079,12 @@ found:
|
||||
|
||||
if (ja->bucket_seq[ja->cur_idx] &&
|
||||
ja->sectors_free == ca->mi.bucket_size) {
|
||||
#if 0
|
||||
/*
|
||||
* Debug code for ZNS support, where we (probably) want to be
|
||||
* correlated where we stopped in the journal to the zone write
|
||||
* points:
|
||||
*/
|
||||
bch_err(c, "ja->sectors_free == ca->mi.bucket_size");
|
||||
bch_err(c, "cur_idx %u/%u", ja->cur_idx, ja->nr);
|
||||
for (i = 0; i < 3; i++) {
|
||||
@ -1086,6 +1092,7 @@ found:
|
||||
|
||||
bch_err(c, "bucket_seq[%u] = %llu", idx, ja->bucket_seq[idx]);
|
||||
}
|
||||
#endif
|
||||
ja->sectors_free = 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user