Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-8493

Do not set stale flag for new created OSP object

Details

    • Bug
    • Resolution: Fixed
    • Major
    • Lustre 2.9.0
    • Lustre 2.9.0
    • None
    • 3
    • 9223372036854775807

    Description

      Do not set stale flags for new created OSP object, otherwise it will cause the following write operation to return ESTALE, especially when cancelling the update record.

      [112275.488838] LustreError: 82035:0:(llog_cat.c:744:llog_cat_cancel_records()) lustre-MDT0000-osp-MDT0001: fail to cancel 1 of 1 llog-records: rc = -116
      [112275.489841] LustreError: 82035:0:(update_trans.c:1307:distribute_txn_cancel_records()) lustre-MDT0000-osp-MDT0001: batchid 1 cancel update log 0x2:1025.1 : rc = -116
      [112275.491873] LustreError: 82035:0:(update_trans.c:1307:distribute_txn_cancel_records()) lustre-MDT0001-osd: batchid 1 cancel update log 0x2:1073742848.1 : rc = 0
      

      This problem seems brought in by patch http://review.whamcloud.com/19041 LU-7660,
      so it only needs to be fixed in 2.9

      Attachments

        Issue Links

          Activity

            [LU-8493] Do not set stale flag for new created OSP object
            pjones Peter Jones added a comment -

            Landed for 2.9

            pjones Peter Jones added a comment - Landed for 2.9

            Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/21861/
            Subject: LU-8493 osp: Do not set stale for new osp obj
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: 431f18c87d28b7cdfa2c411f5e9e067592254610

            gerrit Gerrit Updater added a comment - Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/21861/ Subject: LU-8493 osp: Do not set stale for new osp obj Project: fs/lustre-release Branch: master Current Patch Set: Commit: 431f18c87d28b7cdfa2c411f5e9e067592254610

            wangdi (di.wang@intel.com) uploaded a new patch: http://review.whamcloud.com/21861
            Subject: LU-8493 osp: Do not set stale for new osp obj
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: c3db109202f3d5f3495f7ea09a2defe61a5d41c9

            gerrit Gerrit Updater added a comment - wangdi (di.wang@intel.com) uploaded a new patch: http://review.whamcloud.com/21861 Subject: LU-8493 osp: Do not set stale for new osp obj Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: c3db109202f3d5f3495f7ea09a2defe61a5d41c9

            People

              di.wang Di Wang (Inactive)
              di.wang Di Wang (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: