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

flush stdout/stderr for llapi_printf()/llapi_error

    XMLWordPrintable

Details

    • Task
    • Resolution: Won't Do
    • Minor
    • None
    • None
    • None
    • 9223372036854775807

    Description

      llapi_printf() and llapi_error() use fprintf() to print message to stdout/stderr stream , so the content may be buffered and cannot be printed in time, especially if the stdout/stderr is redirected. Sometime this behavior is confusing. , so flush the stdout/stderr after printing the message in llapi_printf()/llapi_error().

      Attachments

        Activity

          People

            flei Feng Lei
            flei Feng Lei
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: