Details

    • 3
    • 17771

    Description

      It seems that there are some old protocol compatibility workarounds that are still present in master that should have been removed when LUSTRE_MSG_MAGIC_V1 was removed.

      In particular, the process for upgrading LUSTRE_MSG_MAGIC_V1 to LUSTRE_MSG_MAGIC_V2 required the client to connect to the server using the V1 protocol first with the MSG_CONNECT_NEXT_VER op_flag set, and if the server supported the V2 protocol it would reply with LUSTRE_MSG_MAGIC_V2. However, even with V1 protocol support removed, the 2.x clients are still always connecting with NEXT_VER set. In b1_8 this flag was contingent on LUSTRE_MSG_MAGIC_V1 being used.

      A few other cleanups can be done at the same time:

      • disallow 1.8 clients (or at least those that don't understand OBD_CONNECT_FULL20 features so we can remove workarounds for those old clients
      • remove support for pre-2.1 DLM flock lock handling
      • don't workaround the lack of MDS_ATTR_xTIME_SET flags in setattr
      • always set MSGHDR_CKSUM_INCOMPAT18 (it can eventually be removed)

      There are also a lot of places that pretend to allow LUSTRE_MSG_MAGIC_V1 RPCs, but they don't do anything but print an error. They can be cleaned up in a second patch, but i don't want them mixed in with the MSG_CONNECT_NEXT_VER cleanup, since that is important and would prevent us from using this functionality again in the future should we need to upgrade the protocol again.

      Attachments

        Issue Links

          Activity

            [LU-6349] remove old protocol compatibility

            Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/31984/
            Subject: LU-6349 mds: remove obsolete MDS_VTX_BYPASS flag
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: b99344dda425b78e006c49b1d2b22c75585ca306

            gerrit Gerrit Updater added a comment - Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/31984/ Subject: LU-6349 mds: remove obsolete MDS_VTX_BYPASS flag Project: fs/lustre-release Branch: master Current Patch Set: Commit: b99344dda425b78e006c49b1d2b22c75585ca306

            Andreas Dilger (andreas.dilger@intel.com) uploaded a new patch: https://review.whamcloud.com/31984
            Subject: LU-6349 mds: remove obsolete MDS_VTX_BYPASS flag
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: 74e7d78bb49d7f4743fb1512e088dd12f0900c3f

            gerrit Gerrit Updater added a comment - Andreas Dilger (andreas.dilger@intel.com) uploaded a new patch: https://review.whamcloud.com/31984 Subject: LU-6349 mds: remove obsolete MDS_VTX_BYPASS flag Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 74e7d78bb49d7f4743fb1512e088dd12f0900c3f

            Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/30958/
            Subject: LU-6349 idl: add PTLRPC definitions to enum
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: 0c9bb26fc4d9157aaa10df2ba0a1796f2e5fc21e

            gerrit Gerrit Updater added a comment - Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/30958/ Subject: LU-6349 idl: add PTLRPC definitions to enum Project: fs/lustre-release Branch: master Current Patch Set: Commit: 0c9bb26fc4d9157aaa10df2ba0a1796f2e5fc21e

            Andreas Dilger (andreas.dilger@intel.com) uploaded a new patch: https://review.whamcloud.com/30958
            Subject: LU-6349 idl: add PTLRPC definitions to enum
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: ccf8290fe5db92f919dde2973d59586f4dd57080

            gerrit Gerrit Updater added a comment - Andreas Dilger (andreas.dilger@intel.com) uploaded a new patch: https://review.whamcloud.com/30958 Subject: LU-6349 idl: add PTLRPC definitions to enum Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: ccf8290fe5db92f919dde2973d59586f4dd57080

            Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/17831/
            Subject: LU-6349 idl: remove obsolete RPC MSG flags
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: 455ce0cef704e4c9a39bfa9d7c172ca3b31c5fef

            gerrit Gerrit Updater added a comment - Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/17831/ Subject: LU-6349 idl: remove obsolete RPC MSG flags Project: fs/lustre-release Branch: master Current Patch Set: Commit: 455ce0cef704e4c9a39bfa9d7c172ca3b31c5fef

            Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/17830/
            Subject: LU-6349 idl: clean up and document ptlrpc structures
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: e8bdd1a48dd8800d1de0f0daf1e2e38b123de091

            gerrit Gerrit Updater added a comment - Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/17830/ Subject: LU-6349 idl: clean up and document ptlrpc structures Project: fs/lustre-release Branch: master Current Patch Set: Commit: e8bdd1a48dd8800d1de0f0daf1e2e38b123de091

            Andreas Dilger (andreas.dilger@intel.com) uploaded a new patch: http://review.whamcloud.com/17831
            Subject: LU-6349 idl: remove obsolete RPC MSG flags
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: be409236cfb89097a119b77b3b19175a0df70972

            gerrit Gerrit Updater added a comment - Andreas Dilger (andreas.dilger@intel.com) uploaded a new patch: http://review.whamcloud.com/17831 Subject: LU-6349 idl: remove obsolete RPC MSG flags Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: be409236cfb89097a119b77b3b19175a0df70972

            Andreas Dilger (andreas.dilger@intel.com) uploaded a new patch: http://review.whamcloud.com/17830
            Subject: LU-6349 idl: clean up and document ptlrpc structures
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: b3abe4da0a20eaf299cc6fe5754f1c93aef60afb

            gerrit Gerrit Updater added a comment - Andreas Dilger (andreas.dilger@intel.com) uploaded a new patch: http://review.whamcloud.com/17830 Subject: LU-6349 idl: clean up and document ptlrpc structures Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: b3abe4da0a20eaf299cc6fe5754f1c93aef60afb

            Patches landed to master for 2.8.0.

            adilger Andreas Dilger added a comment - Patches landed to master for 2.8.0.

            Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/14007/
            Subject: LU-6349 ptlrpc: remove LUSTRE_MSG_MAGIC_V1 support
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: 8f1c8dbe2389e1ef1e1d3387e343fb9a1bb84198

            gerrit Gerrit Updater added a comment - Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/14007/ Subject: LU-6349 ptlrpc: remove LUSTRE_MSG_MAGIC_V1 support Project: fs/lustre-release Branch: master Current Patch Set: Commit: 8f1c8dbe2389e1ef1e1d3387e343fb9a1bb84198

            People

              adilger Andreas Dilger
              adilger Andreas Dilger
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: