code: public void resizeTempBlockMeta(TempBlockMeta tempBlockMeta, long newSize)
        throws InvalidWorkerStateException {
      StorageDir dir = tempBlockMeta.getParentDir();
      dir.resizeTempBlockMeta(tempBlockMeta, newSize);
    }
docs: Modifies the size of a temp block.
  
  @param tempBlockMeta the temp block to modify
  @param newSize new size in bytes
  @throws InvalidWorkerStateException when newSize is smaller than current size