Hi, On Sun, 31 Dec 2000, Andrea Arcangeli wrote: > > estimate than just the data blocks it should not be hard to add an > > extra callback to the filesystem. > > Yes, I was thinking at this callback too. Such a callback is nearly the only > support we need from the filesystem to provide allocate on flush. Actually the getblock function could be split into 3 functions: - alloc_block: mostly just decrementing a counter (and quota) - get_block: allocating a block from the bitmap - commit_block: inserting the new block into the inode This would be really useful for streaming, one could get as fast as possible the block number and the data could be very quickly written, while keeping the cache usage low. Or streaming directly from a device to disk also wants to get rid of the data as fast as possible. bye, Roman - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
- Re: [RFC] Generic deferred file writing Linus Torvalds
- Re: [RFC] Generic deferred file writing Andreas Dilger
- Re: [RFC] Generic deferred file writing Alexander Viro
- Re: [RFC] Generic deferred file writing Daniel Phillips
- Re: [RFC] Generic deferred file writing Eric W. Biederman
- Re: [RFC] Generic deferred file writing Linus Torvalds
- Re: [RFC] Generic deferred file writing Eric W. Biederman
- Re: [RFC] Generic deferred file writing Andrea Arcangeli
- Re: [RFC] Generic deferred file writing Alexander Viro
- Re: [RFC] Generic deferred file writing Andrea Arcangeli
- Re: [RFC] Generic deferred file writing Roman Zippel
- Re: [RFC] Generic deferred file writing Linus Torvalds
- Re: [RFC] Generic deferred file writing Roman Zippel
- Races in affs_unlink(), affs_rmdir() and affs_r... Alexander Viro
- Re: Races in affs_unlink(), affs_rmdir() and af... Roman Zippel
- Re: [RFC] Generic deferred file writing Andrea Arcangeli
- Re: [RFC] Generic deferred file writing Linus Torvalds
- Re: [RFC] Generic deferred file writing Andrea Arcangeli
- Re: [RFC] Generic deferred file writing Alexander Viro
- Re: [RFC] Generic deferred file writing Linus Torvalds
- Re: [RFC] Generic deferred file writing Daniel Phillips