]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
ocfs2: Support creation of unwritten extents
authorMark Fasheh <mark.fasheh@oracle.com>
Sat, 10 Mar 2007 00:43:28 +0000 (16:43 -0800)
committerMark Fasheh <mark.fasheh@oracle.com>
Wed, 11 Jul 2007 00:32:04 +0000 (17:32 -0700)
commit2ae99a60374f360ba07037ebbf33d19b89ac43a6
treece83db2022a28deb8c402fca7c08cf924ee8e608
parentb27b7cbcf12a1bfff1ed68a73ddd7d11edc20daf
ocfs2: Support creation of unwritten extents

This can now be trivially supported with re-use of our existing extend code.

ocfs2_allocate_unwritten_extents() takes a start offset and a byte length
and iterates over the inode, adding extents (marked as unwritten) until len
is reached. Existing extents are skipped over.

Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
fs/ocfs2/alloc.c
fs/ocfs2/alloc.h
fs/ocfs2/aops.c
fs/ocfs2/dir.c
fs/ocfs2/file.c
fs/ocfs2/file.h
fs/ocfs2/namei.c