public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
* PARTIAL TAKE 971186 - Refactor xfs_mountfs
@ 2007-10-04  6:26 donaldd
  0 siblings, 0 replies; only message in thread
From: donaldd @ 2007-10-04  6:26 UTC (permalink / raw)
  To: xfs, sgi.bugs.xfs

Refactor xfs_mountfs

Refactoring xfs_mountfs() to call sub-functions for logical
chunks can help save a bit of stack, and can make it easier to
read this long function.

The mount path is one of the longest common callchains, easily
getting to within a few bytes of the end of a 4k stack when
over lvm, quotas are enabled, and quotacheck must be done.

With this change on top of the other stack-related changes
I've sent, I can get xfs to survive a normal xfsqa run on
4k stacks over lvm.

Signed-off-by: Eric Sandeen <sandeen@sandeen.net>


Date:  Thu Oct  4 16:26:05 AEST 2007
Workarea:  linuxbuild.melbourne.sgi.com:/home/donaldd/isms/2.6.x-xfs
Inspected by:  sandeen@sandeen.net

The following file(s) were checked into:
  longdrop.melbourne.sgi.com:/isms/linux/2.6.x-xfs-melb


Modid:  xfs-linux-melb:xfs-kern:29834a
fs/xfs/xfs_mount.c - 1.415 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/xfs_mount.c.diff?r1=text&tr1=1.415&r2=text&tr2=1.414&f=h
	- Refactor xfs_mountfs

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-10-04  6:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-04  6:26 PARTIAL TAKE 971186 - Refactor xfs_mountfs donaldd

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox