OpenAFS Master Repository branch, master, updated. BP--openafs-stable-1_6_x-582-g2ce159f
Gerrit Code Review
gerrit@openafs.org
Tue, 21 Dec 2010 21:02:59 -0800 (PST)
The following commit has been merged in the master branch:
commit 2ce159fbf474b96ecd2a4224751d4655230bba51
Author: Andrew Deason <adeason@sinenomine.net>
Date: Fri Dec 3 17:20:54 2010 -0600
LINUX: Reduce stack depth on recursive symlink res
Instead of calling vfs_follow_link inside afs_linux_follow_link
ourselves, we can just resolve the next step of the symlink resolution
and set the result in nd_set_link(), freeing the string in
.put_link().
For kernels without a usable symlink text cache, this reduces call
depth when resolving a path containing many symlinks by two frames per
layer of indirection, allowing for more deeply-nested symlink paths to
be usable.
Change-Id: I6886c3b67089c8028fd6ad93ab10eb9173bd6fbe
Reviewed-on: http://gerrit.openafs.org/3433
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Simon Wilkinson <sxw@inf.ed.ac.uk>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
src/afs/LINUX/osi_vnodeops.c | 18 ++++++++++++------
1 files changed, 12 insertions(+), 6 deletions(-)
--
OpenAFS Master Repository