From 59cba5744656671cc16574be6822e3b000dccd90 Mon Sep 17 00:00:00 2001 From: Amar Tumballi Date: Tue, 14 Sep 2010 07:40:26 +0000 Subject: posix: remove variables used for maintaining generation numbers Signed-off-by: Amar Tumballi Signed-off-by: Vijay Bellur BUG: 971 (dynamic volume management) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=971 --- xlators/storage/posix/src/posix.h | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'xlators/storage/posix/src/posix.h') diff --git a/xlators/storage/posix/src/posix.h b/xlators/storage/posix/src/posix.h index 2aff0a6ca..5f8bb757b 100644 --- a/xlators/storage/posix/src/posix.h +++ b/xlators/storage/posix/src/posix.h @@ -101,7 +101,6 @@ struct posix_private { gf_boolean_t o_direct; /* always open files in O_DIRECT mode */ - gf_boolean_t span_devices; /* decide whether posix_unlink does open (file), unlink (file), close (fd) @@ -111,15 +110,6 @@ struct posix_private { */ gf_boolean_t background_unlink; - int num_devices_to_span; - dev_t *st_device; - -/* a global generation number sequence is used to assign generation numbers in - sequence. -*/ - uint64_t gen_seq; - gf_lock_t gen_lock; - /* janitor thread which cleans up /.trash (created by replicate) */ pthread_t janitor; gf_boolean_t janitor_present; -- cgit