commit | ceced0ad8e175d76983e0d11018d275a64a89445 | [log] [tgz] |
---|---|---|
author | Mike Snitzer <snitzer@redhat.com> | Sun Dec 17 12:57:01 2017 -0500 |
committer | Mike Snitzer <snitzer@redhat.com> | Tue Dec 19 22:36:01 2017 -0500 |
tree | ad2684705043592489c8a960423419bc6167fb0e | |
parent | 88a2ee918c422809f0fbbe030dd0525c5600e9cd [diff] |
dm mpath: skip calls to end_io_bio if using NVMe bio-based and round-robin Add a 'skip_endio_hook' flag member to 'struct dm_target' that if set instructs calls to .end_io (or .rq_end_io) to be skipped. NVMe bio-based doesn't use multipath_end_io_bio() for anything other than updating the path-selector. So it can be avoided completely if the round-robin path selector is used (because round-robin doesn't have an end_io hook). Signed-off-by: Mike Snitzer <snitzer@redhat.com>