commit | 0001ec565db7ed01a6cc9575453900801bd0841b | [log] [tgz] |
---|---|---|
author | Mike Snitzer <snitzer@redhat.com> | Mon Dec 11 11:02:29 2017 -0500 |
committer | Mike Snitzer <snitzer@redhat.com> | Sat Jan 06 11:23:28 2018 -0500 |
tree | 61966fab8c4514c0740807546ee96ffe4a7571f0 | |
parent | 848b8aefd44df99b3e38a872acb8d54d3530bebf [diff] |
dm mpath: factor out SCSI vs NVMe path selection Trying to do both SCSI and NVMe bio-based handling with branching in the same common code has proven too tedious on a code maintenance level. In addition it slightly hurts IO performance. Fix this by factoring out __map_bio() and __map_bio_nvme(). Signed-off-by: Mike Snitzer <snitzer@redhat.com>