summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--BUGS4
-rw-r--r--DEVELOPERS11
-rw-r--r--README1
-rw-r--r--pgfuse.19
-rw-r--r--pool.c2
5 files changed, 15 insertions, 12 deletions
diff --git a/BUGS b/BUGS
index e1c6a4f..540743a 100644
--- a/BUGS
+++ b/BUGS
@@ -1,8 +1,6 @@
- no hard-links
- no mknod support
-- doesn't run multi-threaded currently (always give the -s option!)
- no rename supported
- no support for extended attributes and ACLs
-- only auto-commit transactions currently, so parallel access from
- other clients of the same database may see incomplete data
- tested on Linux only currently
+- no self-containment properties in respect to the database
diff --git a/DEVELOPERS b/DEVELOPERS
index c79395c..1541732 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -8,6 +8,7 @@ Internal documentation for developers
Transaction Policies
Self-containment
Testing
+ References
Coding guidelines
-----------------
@@ -96,7 +97,7 @@ specify transaction strategy as mount options?
Self-containment
----------------
-React decently to loose of database connections. Try to reestablish
+React decently to loss of database connections. Try to reestablish
the connection, the loss of database connection could be temporary.
What should be reported back as temporary error state to FUSE?
@@ -118,3 +119,11 @@ while(true);do
mkdir mnt/bla
rmdir mnt/bla
done
+
+References
+----------
+
+Good FUSE tutorials at:
+
+http://www.cs.hmc.edu/~geoff/classes/hmc.cs135.201109/homework/fuse/fuse_doc.html
+http://www.cs.nmsu.edu/~pfeiffer/fuse-tutorial/
diff --git a/README b/README
index 6e174fb..3715a29 100644
--- a/README
+++ b/README
@@ -50,4 +50,3 @@ References
http://www.postgresql.org/docs/
http://fuse.sourceforge.net/
-http://www.cs.hmc.edu/~geoff/classes/hmc.cs135.201109/homework/fuse/fuse_doc.html
diff --git a/pgfuse.1 b/pgfuse.1
index 4e5413c..f1b8ccc 100644
--- a/pgfuse.1
+++ b/pgfuse.1
@@ -1,4 +1,4 @@
-.TH PgFuse "1" "04/18/2012" "PGFUSE" "User Commands"
+.TH PgFuse "1" "04/20/2012" "PGFUSE" "User Commands"
.SH NAME
PgFuse \- FUSE-based file system with a PostgreSQL storage backend
.SH SYNOPSIS
@@ -73,15 +73,12 @@ PostgreSQL database.
.TP
- no mknod support
.TP
-- doesn't run multi-threaded currently (always give the -s option!)
-.TP
- no rename supported
.TP
- no support for extended attributes and ACLs
.TP
-- only auto-commit transactions currently, so parallel access from
-other clients of the same database may see incomplete data
-.TP
- tested on Linux only currently
+.TP
+- no self-containment properties in respect to the database
.SH AUTHOR
PgFuse has been written by Andreas Baumann <abaumann@yahoo.com>
diff --git a/pool.c b/pool.c
index 49b7c70..5ad56c5 100644
--- a/pool.c
+++ b/pool.c
@@ -166,7 +166,7 @@ int psql_pool_release( PgConnPool *pool, PGconn *conn )
res = pthread_mutex_lock( &pool->lock );
if( res < 0 ) return res;
- for( i = 1; i < pool->size; i++ ) {
+ for( i = pool->size; i >= 0; i-- ) {
if( pool->conns[i] == conn ) {
break;
}