Whamcloud - gitweb
LU-9511 utils: fix parallel_grouplock test timeout
In parallel_grouplock/subtest12, when process 2 acquire
grouplock before writing by process 0 there is deadlock
situation.
- Process 0 write will wait till process 2 release GR lock
(gid=1).
- Process 0 will wait for process 2 to get its lock after write
completed by process 0 using MPI_RECV and here write already
waiting for process 2 to release grouplock.
- Process 2 release lock when process 0 notify process 2.
This issue occured once on local setup, analysed issue through
coredump and concluded following solution which helps to
resolve this timeout.
Increased sleep time from microseconds to seconds for process 1
and 2 to make sure process 0 starts writing and get PW lock.
Seagate-bug-id: MRP-3751
Signed-off-by: Jadhav Vikram <jadhav.vikram@seagate.com>
Reviewed-by: Alexander Lezhoev <alexander.lezhoev@seagate.com>
Tested-by: Alexander Lezhoev <alexander.lezhoev@seagate.com>
Reviewed-by: Ashish Purkar <ashish.purkar@seagate.com>
Change-Id: I1100b86dba55b2eb01c9ae61ba8f1c8e376090c8
Reviewed-on: https://review.whamcloud.com/27127
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Fan Yong <fan.yong@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>