Description
Currently FSDirectory implements a barrier in waitForReady() / setReady() so that it only serve requests once the FSImage is fully loaded.
As a part of the effort to evolve FSDirectory to a class which focuses on implementing the data structure of the namespace, this jira proposes to move the barrier one level higher to FSNamesystem.