1. 23 9月, 2009 1 次提交
    • T
      ocfs2: Create reflinked file in orphan dir. · bc13d347
      Tao Ma 提交于
      reflink is a very complicated process, so it can't be integrated
      into one transaction. So if the system panic in the operation, we
      may leave a unfinished inode in the destication directory.
      
      So we will try to create an inode in orphan_dir first, reflink it
      to the src file and then move it to the destication file in the end.
      In that way we won't be afraid of any corruption during the reflink.
      
      This patch adds 2 functions for orphan_dir operation:
      1. Create a new inode in orphand dir.
      2. Move an inode to a target dir.
      
      Note:
      fsck.ocfs2 should work for us to remove the unfinished file in the
      orphan_dir.
      Signed-off-by: NTao Ma <tao.ma@oracle.com>
      bc13d347
  2. 13 10月, 2007 1 次提交
  3. 13 2月, 2007 1 次提交
  4. 02 12月, 2006 1 次提交
  5. 04 1月, 2006 1 次提交