]> www.infradead.org Git - users/dwmw2/linux.git/commit
bcachefs: bch2_io_opts_fixups()
authorKent Overstreet <kent.overstreet@linux.dev>
Sun, 20 Oct 2024 05:21:43 +0000 (01:21 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sat, 21 Dec 2024 06:36:15 +0000 (01:36 -0500)
commiteacb755568d68337de6e6f734b00df40780c4e30
treed639674ec4dc903d074442d081287abf82d80909
parent16de2c856af0d93bb798a5e55d790103d5fd888c
bcachefs: bch2_io_opts_fixups()

Centralize some io path option fixups - they weren't always being
applied correctly:

- background_compression uses compression if unset
- background_target uses foreground_target if unset
- nocow disables most fancy io path options

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/data_update.c
fs/bcachefs/extents.c
fs/bcachefs/inode.c
fs/bcachefs/opts.c
fs/bcachefs/opts.h
fs/bcachefs/rebalance.c