[LU-14913] flush stdout/stderr for llapi_printf()/llapi_error Created: 06/Aug/21  Updated: 08/Aug/21  Resolved: 08/Aug/21

Status: Closed
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Minor
Reporter: Feng Lei Assignee: Feng Lei
Resolution: Won't Do Votes: 0
Labels: None

Issue Links:
Related
Rank (Obsolete): 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().



 Comments   
Comment by Feng Lei [ 08/Aug/21 ]

Don't need it.

Generated at Sat Feb 10 03:13:50 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.