Whamcloud - gitweb
LU-14741 obdclass: Wake up entire queue of requests on close completion 41/43941/3
authorOleg Drokin <green@whamcloud.com>
Mon, 7 Jun 2021 19:17:27 +0000 (15:17 -0400)
committerOleg Drokin <green@whamcloud.com>
Wed, 30 Jun 2021 03:16:16 +0000 (03:16 +0000)
commita4e1567d67559b797a5c24ee0bfbca4a52649c47
treeb7d6dfe0c3dbe5325e949dbaa35ed59708e142d0
parentce179e97767936ff76282fd06df063b386851fe7
LU-14741 obdclass: Wake up entire queue of requests on close completion

Since close requests could be stuck behind normal requests and get
more slots we need to wake up entire accumulated queue waiting
for the next modrpc slot or have additional waitqueue just for
close requests.

This patch goes with the former approach.

Fixes: 1fc013f901 ("LU-5319 mdc: manage number of modify RPCs in flight")
Change-Id: Ib4333c7f6731dd435364d5e5f529577a1600a235
Signed-off-by: Oleg Drokin <green@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/43941
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Neil Brown <neilb@suse.de>
lustre/obdclass/genops.c