]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
nvmeofgw: propagate quorum feature to the NVMeofMonClient, 68347/head
authorLeonid Chernin <leonidc@il.ibm.com>
Tue, 17 Mar 2026 15:40:16 +0000 (17:40 +0200)
committerLeonid Chernin <leonidc@il.ibm.com>
Wed, 29 Apr 2026 13:33:51 +0000 (16:33 +0300)
commit9c03feade9fff097a3995dbabbd246b4265b60aa
tree9ce6266abb007d6d193908e73ea93cbe766e4954
parentd2fa68ae2fa36a5c58dd59489997282d7df48581
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>
(cherry picked from commit f3f8bde10c86e0c5d4f5286f8e249fc26fa3605d)

Conflicts:
 ../src/include/ceph_features.h
 conflict because UMBRELLA feature  was in main and should not be in tentacle
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