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:
http://repo.or.cz/w/ext4-patch-queue.git?a=blob;f=delalloc-vfs.patch;h=713004ca3f01ae9e7ace289c596ce25901b6c28a;hb=dc9fa932e786df0f2e18402e990926be667484ac

ext4 support:
http://repo.or.cz/w/ext4-patch-queue.git?a=blob;f=delalloc-ext4.patch;h=67f8e2802f52e52497a9a8360a1d979bc60c2142;hb=dc9fa932e786df0f2e18402e990926be667484ac


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

- 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?


Cheers,
Mingming