Re: [reiserfs-dev] [patch 5/15] reiserfs locking fix

Chris Mason (mason@suse.com)
21 May 2002 08:29:05 -0400


On Sun, 2002-05-19 at 15:39, Andrew Morton wrote:
>
>
> reiserfs is using b_inode_buffers and fsync_buffers_list() for
> attaching dependent buffers to its journal. For writeout prior to
> commit.
>
> This worked OK when a global lock was used everywhere, but the locking
> is currently incorrect - try_to_free_buffers() is taking a different
> lock when detaching buffers from their "foreign" inode. So list_head
> corruption could occur on SMP.

Thanks Andrew, this is working for me here.

-chris

-
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/