Whamcloud - gitweb
LU-175 don't allocate kernbuf on the stack
authorBrian J. Murrell <brian@whamcloud.com>
Tue, 5 Apr 2011 05:16:51 +0000 (01:16 -0400)
committerOleg Drokin <green@whamcloud.com>
Fri, 22 Apr 2011 17:53:24 +0000 (10:53 -0700)
commite10c44e8a2a53f2dfb979d3ebc8549a509bdfef1
tree86b4f6502c1670431d125306a5f9ac4ccb363b0f
parent0fc3c3d84b08a48e2eac04785bd3b3ac1f1ad8eb
LU-175 don't allocate kernbuf on the stack

On i686, allocating a kernbuf of 1K on the stack causes a compiler
error:
lustre/mdt/mdt_lproc.c:255: error: the frame size of 1040 bytes is
                                   larger than 1024 bytes

Signed-off-by: Brian J. Murrell <brian@whamcloud.com>
Change-Id: I91e4fc39fa6bdc6b6d7937263520b1dfce8c4746
Reviewed-on: http://review.whamcloud.com/401
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Tested-by: Hudson
Reviewed-by: Lai Siyao <laisiyao@whamcloud.com>
Reviewed-by: Johann Lombardi <johann@whamcloud.com>
lustre/mdt/mdt_lproc.c