Re: fsync on large files

Linus Torvalds (torvalds@transmeta.com)
15 Feb 1999 18:52:59 GMT


In article <199902142337.SAA29586@dcl>, Theodore Y. Ts'o <tytso@MIT.EDU> wrote:
>
>If you look at my patch, you'll see that number of blocks saved is
>configurable by adjusting the NUM_EXT2_FFSYNC_BLKS #define. While it
>might make sense to increase that number, note that past a certain
>point, you might as well simply go through all of the indirect blocks.

I'd much prefer a much more aggressive patch, that just made the dirty
lists a per-inode thing. It shouldn't be too hard - just add the inode
as a parameter to "mark_block_dirty()".

Linus

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/