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

Change syncjournal back to sync_journal

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.12.0
    • Lustre 2.12.0
    • 3
    • 9223372036854775807

    Description

      When we moved the ofd module from using proc to sysfs, the sync journal attribute changed from sync_journal to syncjournal; LU-8066 patch commit 7059644e9ad3eaf.

      obdfilter-survey and replay-single still use sync_journal:

      lustre/tests/obdfilter-survey.sh:		$LCTL get_param obdfilter.${FSNAME}-*.sync_journal
      lustre/tests/obdfilter-survey.sh:		"obdfilter.${FSNAME}-*.sync_journal" > $param_file
      lustre/tests/obdfilter-survey.sh:		$LCTL set_param obdfilter.${FSNAME}-*.sync_journal=0
      lustre/tests/obdfilter-survey.sh:		$LCTL get_param obdfilter.${FSNAME}-*.sync_journal
      lustre/tests/obdfilter-survey.sh:		"obdfilter.${FSNAME}-*.sync_journal" > $param_file
      lustre/tests/obdfilter-survey.sh:		$LCTL set_param obdfilter.${FSNAME}-*.sync_journal=0
      lustre/tests/replay-single.sh:	do_facet ost1 "lctl set_param -n obdfilter.${ost1_svc}.sync_journal 0"
      lustre/tests/replay-single.sh:	do_facet ost1 "lctl set_param -n obdfilter.${ost1_svc}.sync_journal 0"
      

      Note: This change needs to be made to the Lustre manual also:

      By default, sync_journal is enabled (sync_journal=1), so that journal entries are committed synchronously. To enable asynchronous journal commit, set the sync_journal parameter to 0 by entering:
      
      $ lctl set_param obdfilter.*.sync_journal=0 
      obdfilter.lol-OST0001.sync_journal=0
      

      EDIT: Based on Andreas' comment below, let's move syncjournal back to sync_journal.

      Attachments

        Issue Links

          Activity

            [LU-11561] Change syncjournal back to sync_journal
            pjones Peter Jones added a comment -

            Landed for 2.12

            pjones Peter Jones added a comment - Landed for 2.12

            Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/33582/
            Subject: LU-11561 ofd: return attr syncjournal to sync_journal
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: 8701b62863eb71a67b80da873726903920d1bada

            gerrit Gerrit Updater added a comment - Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/33582/ Subject: LU-11561 ofd: return attr syncjournal to sync_journal Project: fs/lustre-release Branch: master Current Patch Set: Commit: 8701b62863eb71a67b80da873726903920d1bada

            James Nunez (jnunez@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/33582
            Subject: LU-11561 ofd: return syncjournal to sync_journal
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: 9f9e9a1ec3de4da35d4292391e92cfa49eba0564

            gerrit Gerrit Updater added a comment - James Nunez (jnunez@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/33582 Subject: LU-11561 ofd: return syncjournal to sync_journal Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 9f9e9a1ec3de4da35d4292391e92cfa49eba0564

            This will also cause test and user interop issues. Instead of fixing the test, you should rename the /sys files to "sync_journal" again.

            adilger Andreas Dilger added a comment - This will also cause test and user interop issues. Instead of fixing the test, you should rename the /sys files to "sync_journal" again.

            People

              jamesanunez James Nunez (Inactive)
              jamesanunez James Nunez (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: