commit | b27b7cbcf12a1bfff1ed68a73ddd7d11edc20daf | [log] [tgz] |
---|---|---|
author | Mark Fasheh <mark.fasheh@oracle.com> | Mon Jun 18 11:22:56 2007 -0700 |
committer | Mark Fasheh <mark.fasheh@oracle.com> | Tue Jul 10 17:32:03 2007 -0700 |
tree | a25a8ca272e7f0ef01987db3b3795a49e0ccb51f | |
parent | 0d172baa5586071ae0ae0c07356a378fdbedecdb [diff] |
ocfs2: support writing of unwritten extents Update the write code to detect when the user is asking to write to an unwritten extent. Like writing to a hole, we must zero the region between the write and the cluster boundaries. Most of the existing cluster zeroing logic can be re-used with some additional checks for the unwritten flag on extent records. Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>