Commit ef6953fb authored by Mike Snitzer's avatar Mike Snitzer
Browse files

dm thin: update .io_hints methods to not require handling discards last



Removes assumptions about what might follow the discard setup code
(previously the code would return early if discards not enabled).

Makes it possible to add more capabilites to the end of each .io_hints
method (which is the natural thing to do when adding new features).

Signed-off-by: default avatarMike Snitzer <snitzer@kernel.org>
parent c0a7a0ac
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