Whamcloud - gitweb
LU-13100 lov: grant deadlock if same OSC in two components 95/37095/8
authorAndriy Skulysh <c17819@cray.com>
Thu, 24 Oct 2019 12:11:25 +0000 (15:11 +0300)
committerOleg Drokin <green@whamcloud.com>
Fri, 26 Feb 2021 20:13:36 +0000 (20:13 +0000)
commit2070e9bcc0c1bd212c61c8d2911074f308deb1f0
tree825a176c1fc028203bc954b1ac89982e35281df2
parent3bae39f0a5b98a279fb5f7b8d00211ac0d09366f
LU-13100 lov: grant deadlock if same OSC in two components

The same osc can be involved in several components but osc layer
leaves active last used extent, so an RPC can't be sent if grants
are required from the same OST for another component.

Add cl_io_extent_release() to release active extent before
switching to the next component.

Change-Id: Idadda6eaecd1d47b78880c81e1fb7513d5be2419
Cray-bug-id: LUS-8038
Signed-off-by: Andriy Skulysh <c17819@cray.com>
Reviewed-by: Vitaly Fertman <c17818@cray.com>
Reviewed-by: Alexander Zarochentsev <c17826@cray.com>
Reviewed-by: Andrew Perepechko <c17827@cray.com>
Reviewed-on: https://review.whamcloud.com/37095
Tested-by: jenkins <devops@whamcloud.com>
Reviewed-by: Andrew Perepechko <andrew.perepechko@hpe.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Bobi Jam <bobijam@hotmail.com>
Reviewed-by: Mike Pershin <mpershin@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/include/cl_object.h
lustre/include/lustre_osc.h
lustre/lov/lov_io.c
lustre/mdc/mdc_dev.c
lustre/obdclass/cl_io.c
lustre/osc/osc_io.c