]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
nvmeofgw: propagate quorum feature to the NVMeofMonClient, 67951/head
authorLeonid Chernin <leonidc@il.ibm.com>
Tue, 17 Mar 2026 15:40:16 +0000 (17:40 +0200)
committerPatrick Donnelly <pdonnell@ibm.com>
Thu, 9 Apr 2026 17:44:41 +0000 (13:44 -0400)
commitf3f8bde10c86e0c5d4f5286f8e249fc26fa3605d
tree08ea8c41a2d9e0097c8ba0572166f1ad9320d503
parent9306fdf9ead725774a20837941929846209a8f1d
nvmeofgw: propagate quorum feature to the NVMeofMonClient,
          reverted feature bit NVMEOF_BEACON_DIFF:

   -NVMeofGwMon adds a quorum_features indication to the MonClient map.
   -MonClient initially sends beacons without applying the BEACON_DIFF logic.
   -MonClient begins applying the BEACON_DIFF logic only when the BEACON_DIFF bit
    is set in the quorum_features field of the NVMeoF monitor map.
   -added mon commands:
     nvme-gw set beacon-diff disable
     nvme-gw set beacon-diff enable
   -performed changes in encode/decode of the BEACON_DIFF feature
   -reverted NVMEOF_BEACON_DIFF bit

Signed-off-by: Leonid Chernin <leonidc@il.ibm.com>
src/include/ceph_features.h
src/messages/MNVMeofGwBeacon.h
src/mon/MonCommands.h
src/mon/Monitor.cc
src/mon/NVMeofGwMap.cc
src/mon/NVMeofGwMap.h
src/mon/NVMeofGwMon.cc
src/mon/NVMeofGwSerialize.h
src/mon/NVMeofGwTypes.h
src/nvmeof/NVMeofGwMonitorClient.cc
src/test/test_nvmeof_mon_encoding.cc