|author||Raghavendra G <email@example.com>||2009-12-04 15:29:51 +0000|
|committer||Anand V. Avati <firstname.lastname@example.org>||2009-12-06 09:28:41 -0800|
performance/stat-prefetch: don't check whether previous lookups have been failed in sp_process_inode_ctx.
We need this patch for following reasons: 1. The inode used in the successful lookup call may not be the one passed to fops operating on path. This may happen, if revalidate of inode is failed, but the lookup itself succeeds (in case of reavalidate failures, fuse sends a fresh lookup using new inode) and since inode_link, if there is an inode already associated with a path retains it. 2. Only fops that "wait" in stat-prefetch on a lookup which is already in progress, need to check for the result of the lookup they are waiting on, before resuming and sp_process_inode_ctx is _not_ used in such contexts. Signed-off-by: Raghavendra G <email@example.com> Signed-off-by: Anand V. Avati <firstname.lastname@example.org> BUG: 428 (looks like stat cache not upto date..) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=428
Diffstat (limited to 'xlators/performance/stat-prefetch/src/Makefile.am')
0 files changed, 0 insertions, 0 deletions