Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rgw: don't try to wait for pending if list is empty
Fixes: ceph#8846 Backport: firefly, dumpling This was broken at ea68b93. We ended up calling wait_pending_front() when pending list was empty. This commit also moves the need_to_wait check to a different place, where we actually throttle (and not just drain completed IOs). Reported-by: Sylvain Munaut <[email protected]> Signed-off-by: Yehuda Sadeh <[email protected]> (cherry picked from commit f9f2417)
- Loading branch information