code: private void reportError(StorageDirectory sd) {
      if (storage instanceof NNStorage) {
        // pass null, since we handle the disable here
        ((NNStorage)storage).reportErrorsOnDirectory(sd, null);
      } else {
        LOG.error("Failed direcory: " + sd.getCurrentDir());
      }
    }
docs: Reports error to underlying storage.