Commit 01ad6737 authored by Kent Overstreet's avatar Kent Overstreet
Browse files

bcachefs: bch2_inode_opts_get()



This improves io_opts() and makes it a non-inline function - it's big
enough that it probably shouldn't be.

Also, bch_io_opts no longer needs fields for whether options are
defined, so we can slim it down a bit.

We'd like to stop passing around the full bch_io_opts, but that'll be
tricky because of bch2_rebalance_add_key().

Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent f52dd1ae
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment