diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2022-04-21 13:13:57 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@gmail.com> | 2022-04-21 13:19:09 -0400 |
commit | 2db3f2c51b10e90dfd37dd3f2cb5839c08713882 (patch) | |
tree | d981d5d82a1d12677b6de23143285de2ebaea59f /tools/perf/scripts/python/export-to-postgresql.py | |
parent | f4e73b27cd4fa6b7594ee7de2ed5f4fe5a5c515f (diff) |
bcachefs: Go RW before bch2_check_lrus()
btree updates before going RW are expensive if they're in random order,
since they use the list of keys for journal replay to insert, which is
just a gap buffer.
This patch improves the bucket invalidate path so that if
bch2_check_lrus() hasn't finished it only prints warnings instead of
doing an emergency shutdown, which means we can now set BCH_FS_MAY_GO_RW
before bch2_check_lrus().
Also, the filesystem state bits are reorganized a bit.
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions