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

Change syncjournal back to sync_journal

    XMLWordPrintable

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

            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: