On Sat, Dec 30, 2000 at 03:00:43PM -0700, Eric W. Biederman wrote: > To get ENOSPC handling 99% correct all we need to do is decrement a counter, > that remembers how many disks blocks are free. If we need a better Yes, we need to add one field to the in-core superblock to do this accounting. > 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. Allocate on flush is a pagecache issue, not really a filesystem issue. When a filesystem doesn't implement such callback we can simply get_block(create) at pagecache creation time as usual. Andrea - 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/
- [RFC] Generic deferred file writing Daniel Phillips
- Re: [RFC] Generic deferred file writing Linus Torvalds
- Re: [RFC] Generic deferred file writing Alexander Viro
- 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() an... Alexander Viro
- Re: Races in affs_unlink(), affs_rmdir(... 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