Whamcloud - gitweb
LU-15393 tests: check QoS hang with OST failover 15/47715/4
authorAlexander Boyko <alexander.boyko@hpe.com>
Thu, 23 Jun 2022 13:33:47 +0000 (09:33 -0400)
committerOleg Drokin <green@whamcloud.com>
Thu, 1 Sep 2022 05:54:07 +0000 (05:54 +0000)
commit52057d85eaef8c7b5262f0718629fabff919ff1d
tree5ebf7e83781d335d9f7083f58bd67034714ff4a1
parent26beb8664f4533a6e8532e4277ee65292d63434c
LU-15393 tests: check QoS hang with OST failover

Patch adds recovery small test 152, to reproduce situation
where MDT object allocation sleeps on OST failover at
lod_ost_alloc_rr under lq_rw_sem read. And all other creation threads
hang at lod_ost_alloc_qos at down_write(lq_rw_sem).

HPE-bug-id: LUS-10388
Test-Parameters: trivial testlist=recovery-small env=ONLY=152
Signed-off-by: Alexander Boyko <alexander.boyko@hpe.com>
Change-Id: I7b9c5a5c9870a559e673a5fd253dcaea40d9fe63
Reviewed-on: https://review.whamcloud.com/47715
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andriy Skulysh <andriy.skulysh@hpe.com>
Reviewed-by: Vitaly Fertman <vitaly.fertman@hpe.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/include/obd_support.h
lustre/lod/lod_qos.c
lustre/tests/recovery-small.sh