Files
scoutfs/kmod/src
Zach Brown b5133bfc98 scoutfs: add elected flag to quorum block
It was a mistake to use a non-zero elected_nr as the indication that a
slot is considered actively elected.  Zeroing it as the server shuts
down wipes the elected_nr and means that it doesn't advance as each
server is elected.  This then causes a client connecting to a new server
to be confused for a client reconnecting to a server after the server
has timed it out and destroyed its state.  This caused reconnection
after shutting down a server to fail and clients to loop reconnecting
indefinitely.

This instead adds flags to the quorum block and assigns a flag to
indicate that the slot should be considered active.  It's cleared by
fencing and by the client as the server shuts down.

Signed-off-by: Zach Brown <zab@versity.com>
2019-04-12 10:54:07 -07:00
..
2017-04-18 13:44:54 -07:00
2018-06-29 15:56:42 -07:00
2018-06-29 15:56:42 -07:00
2019-04-12 10:54:07 -07:00
2019-04-12 10:54:07 -07:00
2019-04-12 10:54:07 -07:00
2018-04-04 09:15:27 -05:00
2018-08-28 15:34:30 -07:00
2018-08-28 15:34:30 -07:00
2018-07-05 16:19:31 -07:00
2017-12-20 12:21:13 -08:00
2019-04-12 10:54:07 -07:00
2019-04-12 10:54:07 -07:00
2018-06-29 14:42:06 -07:00
2019-04-12 10:54:07 -07:00
2018-04-04 09:15:27 -05:00
2018-04-04 09:15:27 -05:00
2018-01-26 11:59:47 -08:00
2018-06-29 14:42:06 -07:00
2018-06-29 14:42:06 -07:00
2019-04-12 10:54:07 -07:00
2017-08-30 10:38:00 -07:00
2019-04-12 10:54:07 -07:00
2019-04-12 10:54:07 -07:00
2018-04-04 09:15:27 -05:00
2019-04-12 10:54:07 -07:00
2018-06-29 14:42:06 -07:00
2016-02-05 14:12:14 -08:00
2018-06-29 14:42:06 -07:00
2019-04-12 10:54:07 -07:00
2019-04-12 10:54:07 -07:00
2019-04-12 10:54:07 -07:00
2019-04-12 10:54:07 -07:00
2018-08-28 15:34:30 -07:00
2018-08-28 15:34:30 -07:00
2019-04-12 10:54:07 -07:00
2019-04-12 10:54:07 -07:00
2018-08-28 15:34:30 -07:00
2018-08-28 15:34:30 -07:00
2019-04-12 10:54:07 -07:00
2019-04-12 10:54:07 -07:00
2019-04-12 10:54:07 -07:00
2019-04-12 10:54:07 -07:00
2019-04-12 10:54:07 -07:00
2017-12-20 12:21:13 -08:00
2017-12-20 12:21:13 -08:00
2018-08-28 15:34:30 -07:00
2018-04-04 09:15:27 -05:00
2018-07-27 09:50:21 -07:00
2018-07-27 09:50:21 -07:00
2019-04-12 10:54:07 -07:00
2018-06-29 14:42:06 -07:00