Whamcloud - gitweb
LU-13802 ptlrpc: correctly remove inflight request 99/54099/8
authorPatrick Farrell <paf0187@gmail.com>
Wed, 13 Mar 2024 14:46:12 +0000 (10:46 -0400)
committerOleg Drokin <green@whamcloud.com>
Tue, 23 Apr 2024 19:44:57 +0000 (19:44 +0000)
commit0661102dea52e7f21636b0ed808ebf037b946954
treea45983a52c506e951f5758d4c14ddfd27799f498
parentc633a42f11aa0277f2cabae085d2ee095eab68ce
LU-13802 ptlrpc: correctly remove inflight request

When removing a request from the active set on error, we
must also remove it from "inflight" or we will not reduce
inflight as needed and hang on cleanup.

This bug has been latent for some time, but running sanity
414 with hybrid IO tends to trigger it.

Signed-off-by: Patrick Farrell <patrick.farrell@oracle.com>
Change-Id: Ib73980724f6e2f5a74400a39840df2e8835a6e23
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/54099
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Shaun Tancheff <shaun.tancheff@hpe.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Reviewed-by: Alex Zhuravlev <bzzz@whamcloud.com>
lustre/ptlrpc/client.c
lustre/tests/sanity.sh