commit | 293b2f70b4a16a1ca91efd28ef3d6634262c6887 | [log] [tgz] |
---|---|---|
author | Tao Ma <tao.ma@oracle.com> | Tue Aug 25 08:02:48 2009 +0800 |
committer | Joel Becker <joel.becker@oracle.com> | Tue Sep 22 20:09:37 2009 -0700 |
tree | 4a85078faae7c529fa313d4964e0d6ad0905a612 | |
parent | 6ae23c5555176c5b23480c9c578ff27437085ba5 [diff] |
ocfs2: Integrate CoW in file write. When we use mmap, we CoW the refcountd clusters in ocfs2_write_begin_nolock. While for normal file io(including directio), we do CoW in ocfs2_prepare_inode_for_write. Signed-off-by: Tao Ma <tao.ma@oracle.com>