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

Sync data before get df data

    XMLWordPrintable

Details

    • Bug
    • Resolution: Not a Bug
    • Minor
    • None
    • None
    • None
    • 3
    • 9223372036854775807

    Description

      == sanity test 311: disable OSP precreate, and unlink should destroy objs ============================ 22:16:56 (1481926616)
      total: 1000 creates in 3.08 seconds: 325.07 creates/second
       - unlinked 0 (time 1481926620 ; total 0 ; last 0)
      total: 1000 unlinks in 2 seconds: 500.000000 unlinks/second
      waited 120 sec, old Iused 5991, new Iused 9110
       sanity test_311: @@@@@@ FAIL: objs not destroyed after unlink 
        Trace dump:
        = /usr/lib64/lustre/tests/test-framework.sh:4970:error()
        = /usr/lib64/lustre/tests/sanity.sh:14395:test_311()
        = /usr/lib64/lustre/tests/test-framework.sh:5230:run_one()
        = /usr/lib64/lustre/tests/test-framework.sh:5268:run_one_logged()
        = /usr/lib64/lustre/tests/test-framework.sh:5072:run_test()
        = /usr/lib64/lustre/tests/sanity.sh:14397:main()
      Dumping lctl log to /tmp/test_logs/1481926605/sanity.test_311.*.1481926744.log
      

      After investigating i think statfs doesn't update in timely manner. So first 'lfs df' may not reflect real filesystem statistic. So we should consider doing a sync action while 'lfs df' in first place. Will push a patch for it.

      Attachments

        Issue Links

          Activity

            People

              ys Yang Sheng
              ys Yang Sheng
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: