Whamcloud - gitweb
LU-18067 utils: lfs getdirstripe hangs on FIFO 61/55861/10
authorRajeev Mishra <rajeevm@hpe.com>
Wed, 24 Jul 2024 21:09:01 +0000 (21:09 +0000)
committerOleg Drokin <green@whamcloud.com>
Fri, 23 Aug 2024 21:59:21 +0000 (21:59 +0000)
commitd0cfa638df48da39562ca8cfadee1347a2923b36
treec6704d0efa6641907c2e1e9f7de5a7a4b0d4c2f1
parent6ddb2bfd355cabef1b9c57e480779174292707ae
LU-18067 utils: lfs getdirstripe hangs on FIFO

The command "lfs getdirstripe -r ." hangs when
executed on a directory containing a FIFO file.

Steps to reproduce-

mkfifo testFile
lfs getdirstripe -r .
A test case, test_56ebb, has been added to sanity.sh
to verify this scenario.

Test-Parameters: trivial
HPE-bug-id: LUS-12266
Signed-off-by: Rajeev Mishra <rajeevm@hpe.com>
Change-Id: I62276e94383755a860b4195868dac554f90f7fe8
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/55861
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Feng Lei <flei@whamcloud.com>
Reviewed-by: Shaun Tancheff <shaun.tancheff@hpe.com>
Reviewed-by: Petros Koutoupis <petros.koutoupis@hpe.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
lustre/tests/sanity.sh
lustre/utils/liblustreapi.c