Added support of freeze operation to distributed storage
(cherry picked from commit bfba716)