Details
-
Bug
-
Resolution: Fixed
-
Minor
-
None
-
None
-
3
-
9223372036854775807
Description
client_evicted() used to check for client eviction based on result of lfs df. When it returned any error but EOPNOTSUPP - that was taken as "client was evicted".
When glibc's realpath() changed to not call stat() which happened in rhel9 (see for ref
stdlib: Sync canonicalize with gnulib BZ #10635 BZ #26592 [BZ
..
- Realpath mishandles EOVERFLOW; stat not needed anyway (BZ#24970).
)
lfs df started to return EOPNOTSUPP from lfs_df() which broken few replay-vbr tests.
Than client_evicted() was changed (LU-16916tests: fix client_evicted() not to ignore EOPNOTSUPP) and now any not 0 of lfs df is taken as "client was evicted".
How about to do explicit check for client eviction in client_evicted()?