code: public void raidFile(INode sourceINodes[], String source, 
        RaidCodec codec, short expectedSourceRepl, Block[] parityBlocks)
            throws IOException {
      waitForReady();
      long now = FSNamesystem.now();
      unprotectedRaidFile(sourceINodes, source, codec, expectedSourceRepl,
          parityBlocks, now);
      fsImage.getEditLog().logRaidFile(source, codec.id, expectedSourceRepl,
          now);
      
    }
docs: Convert a file into a raid file format