-
Bug
-
Resolution: Unresolved
-
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.