Skip to content
Commit 2ae99a60 authored by Mark Fasheh's avatar Mark Fasheh
Browse files

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: default avatarMark Fasheh <mark.fasheh@oracle.com>
parent b27b7cbc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment