On Thu, 28 Dec 2000, Chris Mason wrote: > > Linus and Rik are cc'd in to find out if this is a good idea in > general. Probably. There are some arguments for starting the writeout early, but there are tons of arguments against it too (the main one being "avoid doing IO if you can do so"), so your patch is probably fine. In the end, the performance characteristics are what matters. Does the patch make for smoother behaviour and better performance? Anyway, the "can_get_io_locks" check is subsumed by the "launder_loop" check: we will never set "launder_loop" to non-zero if we can't get the io_locks, so you might as well just make the test be /* First loop through? Don't start IO, just move it to the back of the list */ if (!launder_loop) { .... and be done with it. I'd like to hear what that does for dbench. Linus - 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] changes to buffer.c (was Test12 ll_rw_block... Chris Mason
- Re: [RFC] changes to buffer.c (was Test12 ll_rw_b... Linus Torvalds
- Re: [RFC] changes to buffer.c (was Test12 ll_... Chris Mason
- Re: [RFC] changes to buffer.c (was Test12 ll_rw_block erro... Daniel Phillips
- Re: [RFC] changes to buffer.c (was Test12 ll_rw_block erro... Chris Mason
- Re: [RFC] changes to buffer.c (was Test12 ll_rw_block... Marcelo Tosatti
- Re: [RFC] changes to buffer.c (was Test12 ll_rw_block... Daniel Phillips
- Re: [RFC] changes to buffer.c (was Test12 ll_rw_b... Chris Mason
- Re: [RFC] changes to buffer.c (was Test12 ll_... Daniel Phillips
- Re: [RFC] changes to buffer.c (was Test12... Chris Mason
- Re: [RFC] changes to buffer.c (was T... Linus Torvalds
- Re: [RFC] changes to buffer.c (w... Chris Mason
- Re: [RFC] changes to buffer.c (w... Daniel Phillips
- Re: [RFC] changes to buffer.c (w... Chris Mason
- Re: [RFC] changes to buffer.c (w... Marcelo Tosatti
- Re: [RFC] changes to buffer.c (w... Alexander Viro
- Re: [RFC] changes to buffer.c (w... Chris Mason
- Re: [RFC] changes to buffer.c (w... Marcelo Tosatti
- Re: [RFC] changes to buffer.c (w... Daniel Phillips
- Re: [RFC] changes to buffer.c (w... Chris Mason
- Re: [RFC] changes to buffer.c (w... Chris Mason