Re: [PATCH] Significant performace improvements on reiserfs systems

Andrew Morton (akpm@zip.com.au)
Thu, 20 Sep 2001 11:58:53 -0700


Andrea Arcangeli wrote:
>
> ...
> --- 2.4.10pre12aa2/fs/buffer.c.~1~ Thu Sep 20 20:14:19 2001
> +++ 2.4.10pre12aa2/fs/buffer.c Thu Sep 20 20:45:58 2001
> @@ -2506,7 +2506,7 @@
> spin_unlock(&free_list[isize].lock);
>
> page->buffers = bh;
> - page->flags &= ~(1 << PG_referenced);
> + page->flags |= 1 << PG_referenced;

I don't see how this can change anything - getblk() calls
touch_buffer() shortly afterwards, which does the same
thing?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/