fs: dlm: make dlm sequence id more robust
authorAlexander Aring <aahringo@redhat.com>
Thu, 12 Jan 2023 22:18:45 +0000 (17:18 -0500)
committerDavid Teigland <teigland@redhat.com>
Mon, 23 Jan 2023 22:13:20 +0000 (16:13 -0600)
commit317dd6ba6ccaa5e7c24039955c39df84072d5166
tree8c1f21df9c38c5f82fd18a20bd46db64b88f70b4
parentb8b750e0c99f39223115f2672ac4cfa96ecb9edd
fs: dlm: make dlm sequence id more robust

When joining a new lockspace, use a random number to initialize
a sequence number used in messages. This makes it easier to detect
sequence number mismatches in message replies during tests that
repeatedly join and leave a lockspace.

Signed-off-by: Alexander Aring <aahringo@redhat.com>
Signed-off-by: David Teigland <teigland@redhat.com>
fs/dlm/lockspace.c