summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* DHT TEA hashfn bugfix2.0.0rc2Anand V. Avati2009-02-231-5/+0
| | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
* Deleted xattr caching code from posix in anticipation of the xattr-cache ↵Vikas Gorur2009-02-235-701/+152
| | | | | | translator. Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
* RE-SEND: Add braces around critical sections.Shehjar Tikoo2009-02-231-16/+20
| | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
* added lock_notify and lock_fnotify FOPs to everywhere necessary in ↵Vikas Gorur2009-02-239-2/+287
| | | | | | | | libglusterfs/* fixed indentation and resubmitting Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
* posix_releasedir flush fds from xattrcache.Anand V. Avati2009-02-221-0/+4
| | | | | | | | It would have entered cache in setdents. Proposed fix for: http://zresearch.com/pipermail/gluster-users/2009-February/001621.html Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
* removed to 'option cache-size <size>' in example volfiles for io-threads.Basavanagowda Kanur2009-02-222-3/+1
| | | | | | | io-threads translator does not take 'cache-size' option now. so removed all references to 'cache-size' option for performance/io-threads. Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
* default volume file option enhanced in server-protocolgAmar Tumballi2009-02-221-6/+11
| | | | | | Noticed that with current codebase, there is no proper method to have a default volume filename to choose in getspec() without printing a *lot* of warning messages. This patch tries to have a proper 'default' behavior. Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
* change to make round robin dns work for getspec()Amar Tumballi2009-02-221-1/+1
| | | | | | | | Noticed that if I have just 'socket' and not the address-family, the round robin dns for '-s' option doesn't work. Changing it to 'tcp' works. Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
* command line and mount/fuse now use float attr/entry timeoutsHarshavardhana2009-02-213-24/+23
| | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
* attritbute and entry timeout values under volume now support float/double valuesHarshavardhana2009-02-213-4/+38
| | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
* new function gf_string2double for float/double valuesHarshavardhana2009-02-212-0/+40
| | | | | | fixed warning Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
* new functions dict_{get,set}_double for float/double valueHarshavardhana2009-02-212-0/+99
| | | | | | fixed warning Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
* fix to remove ''input' defined but not used' warning in building glusterfsAmar Tumballi2009-02-201-0/+1
| | | | | | needed to complete the build scripts without warnings Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
* Reduce iothreads requests queue lock granularity.Shehjar Tikoo2009-02-192-34/+22
| | | | | | | | | | | iot_queue() and iot_dequeue() functions were using a io-threads translator-wide lock which would be contended for by every worker thread waiting for IO requests. This patch reduces the granularity by turning the lock into a per-worker lock. Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
* Remove conf->cache_size checksShehjar Tikoo2009-02-192-16/+0
| | | | | | | | Since we're not dependent on this io-thread internal state(i.e. cache_size and current_size) to rate limit requests, we can remove these two data members and code that checks for these. Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
* Remove dead code.Shehjar Tikoo2009-02-192-40/+0
| | | | Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
* cluster/ha to handle EBADFD for fd based operations as transport disconnected.Basavanagowda Kanur2009-02-191-1/+5
| | | | Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
* warn on ERANGE error for lgetxattr in posixVikas Gorur2009-02-191-0/+18
| | | | | | | | | (amended to fit in 80 columns) ERANGE is usually caused by the user reducing the number of AFR's children but continues to use the old backend. Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
* Fix the order of CALLOC() argsShehjar Tikoo2009-02-191-1/+1
| | | | | | | Fix the order of CALLOC arguments. Signed-off-by: Shehjar Tikoo <shehjart@zresearch.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
* updated commit.shAnand V. Avati2009-02-191-3/+1
| | | | | | changed commit.sh for git usage Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
* added lock-ahead translator design documentVikas Gorur2009-02-191-0/+80
| | | | | | | | Design document for the lock-ahead translator Vikas Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
* Added all filesVikas Gorur2009-02-18420-0/+164055
|
* Initial importVikas Gorur2009-02-181-0/+1