]> git.baikalelectronics.ru Git - kernel.git/commit
dm mpath: optimize NVMe bio-based support
authorMike Snitzer <snitzer@redhat.com>
Sun, 10 Dec 2017 20:37:21 +0000 (15:37 -0500)
committerMike Snitzer <snitzer@redhat.com>
Sat, 6 Jan 2018 16:23:24 +0000 (11:23 -0500)
commit1d5c8fc4aabd104964187f6180795b70d6a9b64e
tree0bcdfea974072cf295304ac3890d167c7840bae8
parentcbc311f1a6806b35fbb6fe6dabf20809b2819a64
dm mpath: optimize NVMe bio-based support

All code that deals with pg_init is not used with bio-based NVMe mode.
This includes skipping initialization of pg_init related variables.

Also, pg_init related members on 'struct multipath' have been grouped
together.

Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/dm-mpath.c