mirror of
https://github.com/koverstreet/bcachefs-tools.git
synced 2025-01-23 00:07:07 +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
97c86db4f2
commit
843707ede6
@ -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))
|
||||
continue;
|
||||
|
||||
bool blacklisted =
|
||||
bool blacklisted = p->ignore ||
|
||||
bch2_journal_seq_is_blacklisted(c,
|
||||
le64_to_cpu(p->j.seq), false);
|
||||
|
||||
if (!transaction_filter.nr) {
|
||||
if (transaction_filter.nr) {
|
||||
if (blacklisted)
|
||||
printf("blacklisted ");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user