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

Unnecessary usage of O_NONBLOCK flag for archive file by copytool/lhsm_posix

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.8.0
    • None
    • None
    • 3
    • 17395

    Description

      In the first implementations of Posix copytool, file archive/restore was using a loop around select() with handling/retry on EAGAIN.
      This was later found as useless for regular files and fixed/changed in patch for LU-3971 (http://review.whamcloud.com/7583, commit 397ebc93cef378e6d77450cdd095e2737b94f2f6).
      But the O_NONBLOCK flag usage, during open() of file on archive, has been kept since and must be removed, even if ineffective, to improve code clarity.

      Attachments

        Activity

          People

            bfaccini Bruno Faccini (Inactive)
            bfaccini Bruno Faccini (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: