diff options
| author | Kent Overstreet <[email protected]> | 2022-04-21 13:13:57 -0400 |
|---|---|---|
| committer | Kent Overstreet <[email protected]> | 2023-10-22 17:09:32 -0400 |
| commit | 1cab5a82cc67a09705fbe0607e6ab751f6663524 (patch) | |
| tree | 3937f33e238033aa482a14cced3369ed5cdbc44b /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | 104c69745fdf7e5f8aa022f60bc9d568987bd8b8 (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 <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions