lazy='immediate' leads to each relationship being collected when
it is accessed. This results in at least three extra queries when
we query for all share details. lazy='subquery' collects all data
when the query is executed. In this commit we only changed code for
improving the share list with details ("manila list") speed.
Co-authored-by: Johannes Kulik <email@example.com>
Co-authored-by: Maurice Escher <firstname.lastname@example.org>
(cherry picked from commit