Loading fs/bcachefs/journal_io.c +7 −0 Original line number Diff line number Diff line Loading @@ -1079,6 +1079,12 @@ static void bch2_journal_read_device(struct closure *cl) 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++) { Loading @@ -1086,6 +1092,7 @@ static void bch2_journal_read_device(struct closure *cl) bch_err(c, "bucket_seq[%u] = %llu", idx, ja->bucket_seq[idx]); } #endif ja->sectors_free = 0; } Loading Loading
fs/bcachefs/journal_io.c +7 −0 Original line number Diff line number Diff line Loading @@ -1079,6 +1079,12 @@ static void bch2_journal_read_device(struct closure *cl) 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++) { Loading @@ -1086,6 +1092,7 @@ static void bch2_journal_read_device(struct closure *cl) bch_err(c, "bucket_seq[%u] = %llu", idx, ja->bucket_seq[idx]); } #endif ja->sectors_free = 0; } Loading