Whamcloud - gitweb
LU-15942 utils: ofd_access_log_reader exit status 25/47625/2
authorJohn L. Hammond <jhammond@whamcloud.com>
Tue, 14 Jun 2022 13:32:54 +0000 (08:32 -0500)
committerOleg Drokin <green@whamcloud.com>
Mon, 11 Jul 2022 06:54:53 +0000 (06:54 +0000)
commit9bf968db56ddbad525dffe6fc4b9fde7d55dbde3
tree482a9111f4717304c64725fbfd8c2758d90607df
parente3a4dc406f6d429f5535cb8d3a86004991c61b26
LU-15942 utils: ofd_access_log_reader exit status

If no OSTs are mounted then the ofd module may not be leaded and hence
/dev/lustre-access-log/control may not exist. In
ofd_access_log_reader, if --exit-on-close is used then we should
handle this consistently with the case of no access logs by exiting
with status 0.

Signed-off-by: John L. Hammond <jhammond@whamcloud.com>
Change-Id: I91b059bee8941501f2d207d2a48d1ea5ad40ae99
Reviewed-on: https://review.whamcloud.com/47625
Tested-by: jenkins <devops@whamcloud.com>
Reviewed-by: Alexandre Ioffe <aioffe@ddn.com>
Reviewed-by: Jian Yu <yujian@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/utils/ofd_access_log_reader.c