• Mike Christie's avatar
    dm: Start pr_preempt from the same starting path · c6adada5
    Mike Christie authored
    pr_preempt has a similar issue as reserve where for all the
    reservation types except the All Registrants ones the preempt can
    create a reservation. And a follow up reservation or release needs to
    go down the same path the preempt did. This has the pr_preempt work
    like reserve and release where we always start from the first path in
    the first group.
    
    This commit has been tested with windows failover clustering's
    validation test and libiscsi's PGR tests to check for regressions.
    They both don't have tests to verify this case, so I tested it
    manually.
    Signed-off-by: default avatarMike Christie <michael.christie@oracle.com>
    Signed-off-by: default avatarMike Snitzer <snitzer@kernel.org>
    c6adada5
dm.c 77.3 KB