Re: [PATCH] Significant performace improvements on reiserfs systems

Andrew Morton
2001-09-20T18:59:07Z

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?