code: func (ss *FileSubStore) Flush() error {
  	ss.Lock()
  	err := ss.lockFile()
  	if err == nil {
  		err = ss.flush()
  		ss.fm.unlockFile(ss.file)
  	}
  	ss.Unlock()
  	return err
  }
docs: // Flush persists buffered operations to disk.