summaryrefslogtreecommitdiffstats
path: root/xlators/storage/posix/src/posix.h
diff options
context:
space:
mode:
authorAmar Tumballi <amar@gluster.com>2010-09-14 07:40:26 +0000
committerVijay Bellur <vijay@dev.gluster.com>2010-09-14 08:16:07 -0700
commit59cba5744656671cc16574be6822e3b000dccd90 (patch)
tree12a5e1f1e3e959928d4bbeb40409c888efd185ef /xlators/storage/posix/src/posix.h
parent8e068b0615859829ac1bb2351b78307b2b496cdc (diff)
posix: remove variables used for maintaining generation numbers
Signed-off-by: Amar Tumballi <amar@gluster.com> Signed-off-by: Vijay Bellur <vijay@dev.gluster.com> BUG: 971 (dynamic volume management) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=971
Diffstat (limited to 'xlators/storage/posix/src/posix.h')
-rw-r--r--xlators/storage/posix/src/posix.h10
1 files changed, 0 insertions, 10 deletions
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;