mirror of
https://github.com/koverstreet/bcachefs-tools.git
synced 2025-02-24 00:00:19 +03:00
cmd_list_journal: Apply star_start_of_lines() correctly
In list_journal, we note which journal entries are being ignored - this was forgetting to mark entries newer than the newest flush. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
This commit is contained in:
parent
5dea2b0409
commit
3d832710f9
@ -140,11 +140,11 @@ static void journal_entries_print(struct bch_fs *c, unsigned nr_entries,
|
|||||||
if (le64_to_cpu(p->j.seq) + nr_entries < atomic64_read(&c->journal.seq))
|
if (le64_to_cpu(p->j.seq) + nr_entries < atomic64_read(&c->journal.seq))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
bool blacklisted =
|
bool blacklisted = p->ignore ||
|
||||||
bch2_journal_seq_is_blacklisted(c,
|
bch2_journal_seq_is_blacklisted(c,
|
||||||
le64_to_cpu(p->j.seq), false);
|
le64_to_cpu(p->j.seq), false);
|
||||||
|
|
||||||
if (!transaction_filter.nr) {
|
if (transaction_filter.nr) {
|
||||||
if (blacklisted)
|
if (blacklisted)
|
||||||
printf("blacklisted ");
|
printf("blacklisted ");
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user