diff options
| author | Raghavendra G <raghavendra@gluster.com> | 2009-10-07 10:09:15 +0000 | 
|---|---|---|
| committer | Anand V. Avati <avati@dev.gluster.com> | 2009-10-07 23:05:23 -0700 | 
| commit | 920196c5420434f5b8a31466dcfb14b6f7196c50 (patch) | |
| tree | ad6a5776463e8ec971fa99f96bb9dd21ec0f9bf9 /xlators/performance/stat-prefetch/src/stat-prefetch.h | |
| parent | d75a0e46ff31f1895ab669c7d859e7e8c5b46344 (diff) | |
performance/stat-prefetch: lookup oldpath and newpath in rename if they've not already been looked up.
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
BUG: 284 (performance actually decreases for 'ls -l' on a directory containing large number of files with stat-prefetch loaded)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=284
Diffstat (limited to 'xlators/performance/stat-prefetch/src/stat-prefetch.h')
| -rw-r--r-- | xlators/performance/stat-prefetch/src/stat-prefetch.h | 1 | 
1 files changed, 1 insertions, 0 deletions
diff --git a/xlators/performance/stat-prefetch/src/stat-prefetch.h b/xlators/performance/stat-prefetch/src/stat-prefetch.h index 068ea7dfe10..3ea163b2ca2 100644 --- a/xlators/performance/stat-prefetch/src/stat-prefetch.h +++ b/xlators/performance/stat-prefetch/src/stat-prefetch.h @@ -62,6 +62,7 @@ typedef struct sp_fd_ctx sp_fd_ctx_t;  struct sp_inode_ctx {          char             looked_up;          char             lookup_in_progress; +        char             need_unwind;          int32_t          op_ret;          int32_t          op_errno;          gf_lock_t        lock;  | 
