xfs
[Top] [All Lists]

Re: a modest proposal for 4kstacks & xfs

To: Eric Sandeen <sandeen@xxxxxxxxxxx>
Subject: Re: a modest proposal for 4kstacks & xfs
From: Chris Wedgwood <cw@xxxxxxxx>
Date: Tue, 13 Feb 2007 12:13:06 -0800
Cc: xfs@xxxxxxxxxxx
In-reply-to: <45D1FDFC.20407@sandeen.net>
References: <45D1FDFC.20407@sandeen.net>
Sender: xfs-bounce@xxxxxxxxxxx
On Tue, Feb 13, 2007 at 10:05:48AM -0800, Eric Sandeen wrote:

> XFS continues to come up against 4k stacks, despite the best efforts
> of several people to slim down xfs a bit (and in fact it seems ok
> over simple storage these days), people are always able to stack up
> enough IO path to push the limits of a 4k stack.

i'll argue "if XFS is enabled 4K stacks should be disabled"

the only people this is really going to bother surely are people
running stock RH kernels where XFS isn't supported anyhow

> modprobe xfs 4kstacks_may_break=1
>
> or somesuch; and without this modprobe would fail on a 4kstacks
> kernel with a "helpful" message.

won't people just add the param and continue anyhow w/o thinking about
the issue(s)?

> I hate to further the meme of "xfs won't work with 4kstacks" but the
> truth is that there are IO path scenarios where it can lead to
> problems.

i have a setup here with ENOSPC conditions will wedge up tight wen
using 4k stacks (the allocator has a path where it calls back into
itself i think)

> What do folks think; useful?  pointless?  too heavy-handed?

i prefer kconfig magic to simply disallow compilation of XFS w/ 4k
stacks, it's not in the past you had to try hard to break xfs in these
conditions --- is it really much harder now?

also, someone claimed gcc 4.1+ reused stack slots --- if that's the
case it might make things a lot better than older compilers?
checkstack.pl should show a difference though


<Prev in Thread] Current Thread [Next in Thread>