diff options
author | 2025-03-18 01:54:24 +0800 | |
---|---|---|
committer | 2025-03-24 09:50:35 -0400 | |
commit | 5cc0ab39fb16c44ef6bbabb1b5a0c5705ec0bb56 (patch) | |
tree | a989d3b250f12e4937d20c303471fd4fa6dca09c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | bcachefs: Fix btree iter flags in data move (diff) | |
download | wireguard-linux-5cc0ab39fb16c44ef6bbabb1b5a0c5705ec0bb56.tar.xz wireguard-linux-5cc0ab39fb16c44ef6bbabb1b5a0c5705ec0bb56.zip |
bcachefs: Fix incorrect state count
atomic64_read(&j->seq) - j->seq_write_started == JOURNAL_STATE_BUF_NR is
the condition in journal_entry_open where we return JOURNAL_ERR_max_open,
so journal_cur_seq(j) - seq == JOURNAL_STATE_BUF_NR means that the buf
corresponding to seq has started to write.
Signed-off-by: Alan Huang <mmpgouride@gmail.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions