Whamcloud - gitweb
LU-14053 utils: detect hangup in ofd_access_log_reader 11/40311/7
authorJohn L. Hammond <jhammond@whamcloud.com>
Thu, 24 Sep 2020 21:05:39 +0000 (16:05 -0500)
committerOleg Drokin <green@whamcloud.com>
Thu, 19 Nov 2020 11:00:28 +0000 (11:00 +0000)
commit2db059c05781cd332ef337eef0de3e5656802d8e
treebbfe8f888cd6b40276091665ed5ba5703632afc7
parenta29c6c7c493d0c30ee4c3046d5c7d4efa4c00b1b
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
Reviewed-on: https://review.whamcloud.com/40311
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Jian Yu <yujian@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Alex Zhuravlev <bzzz@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/utils/ofd_access_log_reader.c