diff options
author | Raghavendra G <raghavendra@gluster.com> | 2009-08-23 22:28:18 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2009-09-08 01:40:54 -0700 |
commit | bcd092a21f4284277a7f59c58715bb253ed90ff7 (patch) | |
tree | ccc0e1b0fcf02e7a22282148ff88adda9bd999e6 /xlators/performance/stat-prefetch/src/stat-prefetch.h | |
parent | 314eb5fecf61b61ae9ba6bd76a44ea14bbd04513 (diff) |
rewriting stat-prefetch translator
- stat-prefetch aims to optimize operations like 'ls -l' where a readdir
is immediately followed by stat calls on each of the directory entry read.
More details on design can be found in doc/stat-prefetch-design.txt
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
BUG: 221 (stat prefetch implementation)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=221
Diffstat (limited to 'xlators/performance/stat-prefetch/src/stat-prefetch.h')
-rw-r--r-- | xlators/performance/stat-prefetch/src/stat-prefetch.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/xlators/performance/stat-prefetch/src/stat-prefetch.h b/xlators/performance/stat-prefetch/src/stat-prefetch.h index ef82952b0..bd8d9e7eb 100644 --- a/xlators/performance/stat-prefetch/src/stat-prefetch.h +++ b/xlators/performance/stat-prefetch/src/stat-prefetch.h @@ -1,5 +1,5 @@ /* - Copyright (c) 2006-2009 Z RESEARCH, Inc. <http://www.zresearch.com> + Copyright (c) 2009-2010 Z RESEARCH, Inc. <http://www.zresearch.com> This file is part of GlusterFS. GlusterFS is free software; you can redistribute it and/or modify @@ -17,16 +17,16 @@ <http://www.gnu.org/licenses/>. */ -#ifndef _STAT_PREFETCH_H_ -#define _STAT_PREFETCH_H_ +#ifndef _STAT_PREFETCH_H +#define _STAT_PREFETCH_H #ifndef _CONFIG_H #define _CONFIG_H #include "config.h" #endif -#include <stdio.h> -#include <sys/time.h> +#include "glusterfs.h" +#include "dict.h" #include "xlator.h" -#endif /* _STAT_PREFETCH_H_ */ +#endif /* #ifndef _STAT_PREFETCH_H */ |