[PATCH RFC 0/5] Eliminate most lock_super() calls from ext4

From: Theodore Ts'o
Date: Sat Apr 25 2009 - 23:49:51 EST



On Fri, Apr 24, 2009 at 08:40:47PM +0200, Christoph Hellwig wrote:
> ext3/4 internal bits? Doesn't seem to be used for any journal related
> activity but mostly as protection against resizing (the whole lock_super
> usage in ext3/4 looks odd to me, interestingly there's none at all in
> ext2. Maybe someone of the extN crowd should audit and get rid of it in
> favour of a better fs-specific lock)

Here are some patches which eliminate most of the lock_super() and
unlock_super() calls from ext4. The last remaining calls are designed
to proect against another CPU calling write_super(), which is the
original intended use.

If these patches work out, we can backport these patches to ext3.

Comments and review appreciated; thanks!!

- Ted

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