mds: Fix Session::get_request_count

Signed-off-by: John Spray <john.spray@redhat.com>
Merge pull request #2376 from ceph/wip-request-count

mds: Fix Session::get_request_count

Reviewed-by: Yan, Zheng <ukernel@gmail.com>
ReplicatedPG: create max hitset size

Otherwise, hit_set_create could create an unbounded size hitset
object.

Fixes: #9339
Backport: firefly
Signed-off-by: Samuel Just <sam.just@inktank.com>
ReplicatedPG::start_flush: we may need to send a delete if there are no clones

Fixes: 9054
Introduced: a525bf3190a712fdceb018267a0aa08e90c44e62
Backport: firefly
Signed-off-by: Samuel Just <sam.just@inktank.com>
Merge remote-tracking branches 'origin/wip-9179', 'upstream/wip-9193', 'origin/wip-9293', 'origin/wip-9054' and 'origin/wip-9339' into wip-sam-testing