login
Header Space

 
 

Re: [Patch 15/18] fs/logfs/super.c

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Jörn Engel <joern@...>
Cc: <linux-fsdevel@...>, <linux-kernel@...>, <linux-mtd@...>, <akpm@...>, Sam Ravnborg <sam@...>, John Stoffel <john@...>, David Woodhouse <dwmw2@...>, Jamie Lokier <jamie@...>, Artem Bityutskiy <dedekind@...>, CaT <cat@...>, Jan Engelhardt <jengelh@...>, Evgeniy Polyakov <johnpol@...>, David Weinehall <tao@...>, Willy Tarreau <w@...>, Kyle Moffett <mrmacman_g4@...>, Dongjun Shin <djshin90@...>, Pavel Machek <pavel@...>, Bill Davidsen <davidsen@...>, Thomas Gleixner <tglx@...>, Albert Cahalan <acahalan@...>, Pekka Enberg <penberg@...>, Roland Dreier <rdreier@...>, Ondrej Zajicek <santiago@...>, Ulisses Furquim <ulissesf@...>
Date: Sunday, June 10, 2007 - 12:27 pm

On Sunday 03 June 2007, J=C3=B6rn Engel wrote:
oid *buf)
void *buf)
);

It seems that these functions are completely synchronous and afaics, th=
e
writes are called in the pdflush context, effectively blocking out oper=
ations
on other file systems at the time. Not sure if this is something that
should be fixed, but it seems to limit scalability on mtd backends.

It seems that jffs2 has the same behaviour.

id *buf)

How about using submit_bio here instead of going to the page cache?
That would avoid doubling all the memory consumption here.

ion will
pace.

shouldn't this use the ->write() function instead of hardcoding mtdwrit=
e.


You are missing at least a MODULE_LICENSE and should probably
add the MODULE_AUTHOR and MODULE_DESCRIPTION tags as well.
Right now, it's impossible to even load the module, because
it uses a few GPL-only symbols.

	Arnd <><
-
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel=
" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
LogFS take four, Jörn, (Sun Jun 3, 2:38 pm)
Re: LogFS take four, Evgeniy Polyakov, (Fri Jun 15, 4:37 am)
Re: LogFS take four, Jörn, (Fri Jun 15, 7:10 am)
Re: LogFS take four, Arnd Bergmann, (Sun Jun 3, 6:18 pm)
Re: LogFS take four, Jörn, (Mon Jun 4, 5:05 am)
Re: LogFS take four, Jan-Benedict Glaw, (Sun Jun 3, 3:17 pm)
Re: LogFS take four, Jörn, (Sun Jun 3, 3:19 pm)
[Patch 18/18] fs/logfs/Locking, Jörn, (Sun Jun 3, 2:51 pm)
[Patch 17/18] fs/logfs/progs/mkfs.c, Jörn, (Sun Jun 3, 2:50 pm)
[Patch 16/18] fs/logfs/progs/fsck.c, Jörn, (Sun Jun 3, 2:50 pm)
[Patch 15/18] fs/logfs/super.c, Jörn, (Sun Jun 3, 2:49 pm)
Re: [Patch 15/18] fs/logfs/super.c, Arnd Bergmann, (Sun Jun 10, 12:27 pm)
Re: [Patch 15/18] fs/logfs/super.c, Jörn, (Sun Jun 10, 1:38 pm)
Re: [Patch 15/18] fs/logfs/super.c, Arnd Bergmann, (Sun Jun 10, 2:33 pm)
Re: [Patch 15/18] fs/logfs/super.c, Jörn, (Sun Jun 10, 3:10 pm)
Re: [Patch 15/18] fs/logfs/super.c, Willy Tarreau, (Sun Jun 10, 3:20 pm)
[Patch 14/18] fs/logfs/segment.c, Jörn, (Sun Jun 3, 2:48 pm)
Re: [Patch 14/18] fs/logfs/segment.c, Arnd Bergmann, (Sun Jun 3, 6:21 pm)
Re: [Patch 14/18] fs/logfs/segment.c, Jörn, (Mon Jun 4, 5:07 am)
[Patch 13/18] fs/logfs/readwrite.c, Jörn, (Sun Jun 3, 2:48 pm)
[Patch 12/18] fs/logfs/memtree.c, Jörn, (Sun Jun 3, 2:47 pm)
[Patch 11/18] fs/logfs/journal.c, Jörn, (Sun Jun 3, 2:47 pm)
[Patch 10/18] fs/logfs/inode.c, Jörn, (Sun Jun 3, 2:46 pm)
Re: [Patch 10/18] fs/logfs/inode.c, Arnd Bergmann, (Sun Jun 10, 1:24 pm)
Re: [Patch 10/18] fs/logfs/inode.c, Jörn, (Mon Jun 11, 7:28 pm)
Re: [Patch 10/18] fs/logfs/inode.c, Arnd Bergmann, (Mon Jun 11, 7:51 pm)
Re: [Patch 10/18] fs/logfs/inode.c, Jörn, (Mon Jun 11, 7:57 pm)
Re: [Patch 10/18] fs/logfs/inode.c, Jörn, (Sun Jun 10, 1:40 pm)
[Patch 09/18] fs/logfs/gc.c, Jörn, (Sun Jun 3, 2:46 pm)
Re: [Patch 09/18] fs/logfs/gc.c, Evgeniy Polyakov, (Fri Jun 15, 5:03 am)
Re: [Patch 09/18] fs/logfs/gc.c, Jörn, (Fri Jun 15, 7:14 am)
Re: [Patch 09/18] fs/logfs/gc.c, Evgeniy Polyakov, (Fri Jun 15, 9:03 am)
Re: [Patch 09/18] fs/logfs/gc.c, Arnd Bergmann, (Sun Jun 3, 6:07 pm)
Re: [Patch 09/18] fs/logfs/gc.c, Jörn, (Mon Jun 4, 5:01 am)
[Patch 08/18] fs/logfs/file.c, Jörn, (Sun Jun 3, 2:45 pm)
[Patch 07/18] fs/logfs/dir.c, Jörn, (Sun Jun 3, 2:44 pm)
Re: [Patch 07/18] fs/logfs/dir.c, Evgeniy Polyakov, (Fri Jun 15, 4:59 am)
Re: [Patch 07/18] fs/logfs/dir.c, Jörn, (Fri Jun 15, 7:57 am)
[Patch 06/18] fs/logfs/compr.c, Jörn, (Sun Jun 3, 2:43 pm)
Re: [Patch 06/18] fs/logfs/compr.c, Arnd Bergmann, (Sun Jun 3, 5:58 pm)
Re: [Patch 06/18] fs/logfs/compr.c, Jörn, (Mon Jun 4, 4:54 am)
Re: [Patch 06/18] fs/logfs/compr.c, David Woodhouse, (Mon Jun 4, 9:53 am)
[Patch 05/18] fs/logfs/logfs.h, Jörn, (Sun Jun 3, 2:43 pm)
Re: [Patch 05/18] fs/logfs/logfs.h, Paulo Marques, (Wed Jun 6, 7:29 am)
Re: [Patch 05/18] fs/logfs/logfs.h, Jörn, (Wed Jun 6, 7:29 am)
Re: [Patch 05/18] fs/logfs/logfs.h, Arnd Bergmann, (Sun Jun 3, 5:50 pm)
Re: [Patch 05/18] fs/logfs/logfs.h, Jan Engelhardt, (Mon Jun 4, 4:17 am)
Re: [Patch 05/18] fs/logfs/logfs.h, Jörn, (Mon Jun 4, 5:11 am)
[Patch 04/18] include/linux/logfs.h, Jörn, (Sun Jun 3, 2:42 pm)
Re: [Patch 04/18] include/linux/logfs.h, Arnd Bergmann, (Sun Jun 3, 5:42 pm)
Re: [Patch 04/18] include/linux/logfs.h, Jörn, (Mon Jun 4, 5:12 am)
Re: [Patch 04/18] include/linux/logfs.h, David Woodhouse, (Mon Jun 4, 9:38 am)
Re: [Patch 04/18] include/linux/logfs.h, Segher Boessenkool, (Tue Jun 5, 11:49 am)
Re: [Patch 04/18] include/linux/logfs.h, Bill Davidsen, (Tue Jun 5, 4:39 pm)
Re: [Patch 04/18] include/linux/logfs.h, David Woodhouse, (Tue Jun 5, 11:53 am)
Re: [Patch 04/18] include/linux/logfs.h, Segher Boessenkool, (Tue Jun 5, 2:49 pm)
Re: [Patch 04/18] include/linux/logfs.h, David Woodhouse, (Wed Jun 6, 4:50 am)
Re: [Patch 04/18] include/linux/logfs.h, Arnd Bergmann, (Wed Jun 6, 8:42 am)
Re: [Patch 04/18] include/linux/logfs.h, Andreas Schwab, (Wed Jun 6, 4:59 am)
Re: [Patch 04/18] include/linux/logfs.h, Jörn, (Mon Jun 4, 10:02 am)
[Patch 03/18] fs/logfs/Makefile, Jörn, (Sun Jun 3, 2:41 pm)
[Patch 02/18] fs/Makefile, Jörn, (Sun Jun 3, 2:40 pm)
[Patch 01/18] fs/Kconfig, Jörn, (Sun Jun 3, 2:40 pm)
speck-geostationary