diff options
author | Harshavardhana Ranganath <harsha@gluster.com> | 2010-01-26 09:05:41 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2010-01-26 07:23:19 -0800 |
commit | c15449aaaeb725c49af3817e07ea33c6c09c8c15 (patch) | |
tree | d20d46e586109f335e6ea044cc4d4696ecb87310 /xlators/storage/posix/src/posix.h | |
parent | 936eac4cec6cf57ab22688cb8f3222d385818c97 (diff) |
Revert "Server backend storage hang should not cause the mount point to hang."v3.0.2rc1
This reverts commit a0b148ea4e2a0163548eeb89b7580be4adbb8070.
Signed-off-by: Harshavardhana <harsha@gluster.com>
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
BUG: 272 (Server backend storage hang should not cause the mount point to hang)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=272
Diffstat (limited to 'xlators/storage/posix/src/posix.h')
-rw-r--r-- | xlators/storage/posix/src/posix.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/xlators/storage/posix/src/posix.h b/xlators/storage/posix/src/posix.h index 92fe8e2515c..f92e256fbc0 100644 --- a/xlators/storage/posix/src/posix.h +++ b/xlators/storage/posix/src/posix.h @@ -29,7 +29,6 @@ #include <unistd.h> #include <sys/types.h> #include <dirent.h> -#include <pthread.h> #include <time.h> #ifdef linux @@ -51,7 +50,6 @@ #include "xlator.h" #include "inode.h" #include "compat.h" -#include "timer.h" /** * posix_fd - internal structure common to file and directory fd's @@ -72,7 +70,6 @@ struct posix_private { int32_t base_path_length; gf_lock_t lock; - pthread_mutex_t mutex; char hostname[256]; /* Statistics, provides activity of the server */ @@ -120,11 +117,6 @@ struct posix_private { int num_devices_to_span; dev_t *st_device; - pthread_t fsping; - gf_timer_t *fsping_timer; - int fsping_timeout; - int fs_state; - /* a global generation number sequence is used to assign generation numbers in sequence. */ @@ -137,9 +129,6 @@ struct posix_private { char * trash_path; }; -#define POSIX_FSPING_SLEEP_TIME 10 -#define POSIX_FSPING_TIMEOUT 10 - #define POSIX_BASE_PATH(this) (((struct posix_private *)this->private)->base_path) #define POSIX_BASE_PATH_LEN(this) (((struct posix_private *)this->private)->base_path_length) |