Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dm table: allow targets without devices to set ->io_hints
In dm_calculate_queue_limits, add call to ->io_hints hook if the target doesn't provide ->iterate_devices. This is needed so the "error" and "zero" targets may support discards. The 2 following commits will add their respective discard support. Signed-off-by: Mikulas Patocka <[email protected]> Tested-by: Milan Broz <[email protected]> Signed-off-by: Mike Snitzer <[email protected]>
- Loading branch information