diff options
| author | Tao Ma <tao.ma@oracle.com> | 2009-08-26 05:47:28 +0400 |
|---|---|---|
| committer | Joel Becker <joel.becker@oracle.com> | 2009-09-23 07:09:38 +0400 |
| commit | 37f8a2bfaa8364dd3644cccee8824bb8f5e409a5 (patch) | |
| tree | ab3083179c621c3e8d0be3980aaed96528f90599 /scripts | |
| parent | 293b2f70b4a16a1ca91efd28ef3d6634262c6887 (diff) | |
| download | linux-37f8a2bfaa8364dd3644cccee8824bb8f5e409a5.tar.xz | |
ocfs2: CoW a reflinked cluster when it is truncated.
When we truncate a file to a specific size which resides in a reflinked
cluster, we need to CoW it since ocfs2_zero_range_for_truncate will
zero the space after the size(just another type of write).
So we add a "max_cpos" in ocfs2_refcount_cow so that it will stop when
it hit the max cluster offset.
Signed-off-by: Tao Ma <tao.ma@oracle.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
