Update ShardServices to inherit from seastar::peering_sharded_service.
This allows the service to access its own sharded container directly
via container() rather than manually storing a reference to it.
Signed-off-by: Aishwarya Mathuria <amathuri@redhat.com>
/**
* Represents services available to each PG
*/
-class ShardServices : public OSDMapService {
+class ShardServices : public OSDMapService,
+ public seastar::peering_sharded_service<ShardServices> {
friend class PGShardManager;
friend class OSD;
using cached_map_t = OSDMapService::cached_map_t;