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

improve client_evicted()

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Minor
    • None
    • 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-16916 tests: 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()?

      Attachments

        Activity

          People

            vsaveliev Vladimir Saveliev
            vsaveliev Vladimir Saveliev
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: