2008-02-22 20:35:27

by Mingming Cao

[permalink] [raw]
Subject: [RFC] Delayed allocation updates

Hi, ext4 patch queue has keeping a set of delayed allocation for a
while. The know todo is add reservation and ordered mode support.

FYI, The base delayed allocation patches are located at
VFS changes:

ext4 support:

Here is the updates to the delayed allocation patches in the ext4 patch

- update delayed allocation with current VFS API write_begin/write_end
- general handling preallocation
- add block reservation to handle ENOSPC error

Patches will follow. compiles, plan to add to the patch later. Comments?

I looked at ordered mode briefly but not entirely clear how that could
be done without a new callback function. Perhaps Alex has some thoughts?