[LU-14053] ofd_access_log_reader may fail to notice that consumer exited Created: 20/Oct/20  Updated: 19/Nov/20  Resolved: 19/Nov/20

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: Lustre 2.14.0

Type: Bug Priority: Minor
Reporter: John Hammond Assignee: John Hammond
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Cloners
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

Since it may go for a while without producing any output, ofd_access_log_reader may fail to notice that consumer exited.



 Comments   
Comment by John Hammond [ 20/Oct/20 ]

https://review.whamcloud.com/40311

LU-14053 utils: detect hangup in ofd_access_log_reader

In ofd_access_log_reader, when the batch file is a pipe or socket,
detect hangups and exit.

Signed-off-by: John L. Hammond <jhammond@whamcloud.com>
Change-Id: If7509174b992011305d8e4a7aa2766a3a1980831

Comment by Gerrit Updater [ 19/Nov/20 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/40311/
Subject: LU-14053 utils: detect hangup in ofd_access_log_reader
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 2db059c05781cd332ef337eef0de3e5656802d8e

Comment by Peter Jones [ 19/Nov/20 ]

Landed for 2.14

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