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

sanity test_64f: grants mismatch after second remount

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Medium Medium
    • None
    • None
    • None
    •  <distro/arch>, <ldiskfs|zfs>
    • 3
    • 9223372036854775807

      sanity test_64f fails intermittently with:
      <buffered io, not write rpc|...>: grants mismatch: <got>, expected <expected>
      The test remounts the client a second time ("Remount client to reset grant") and re-reads osc_tgt, but still compares check_grants against the init_grants it read after the first mount. The initial grant an OST hands out on a new connection isn't always the same, so the later checks compare against a stale value.

      Fix: re-read initial_grant from the OSC import after the second remount_client.

      Earlier test_64f "grants mismatch" tickets (LU-13847, LU-15704, LU-16541, LU-20699) are all closed, and none of them describes this cause. test_64e has the same pattern: it remounts a second time and calls check_grants without re-reading init_grants.

            wc-triage WC Triage
            johgras John Grasso
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: