Commit Graph

10613 Commits

Author SHA1 Message Date
Harshavardhana
b5e0ee918f new function gf_string2double for float/double values
fixed warning

Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
2009-02-21 21:14:23 +05:30
Harshavardhana
9679f8db65 new functions dict_{get,set}_double for float/double value
fixed warning

Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
2009-02-21 21:07:31 +05:30
Amar Tumballi
e9ac5f5877 fix to remove ''input' defined but not used' warning in building glusterfs
needed to complete the build scripts without warnings

Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
2009-02-20 09:40:09 -08:00
Shehjar Tikoo
99a1cac632 Reduce iothreads requests queue lock granularity.
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>
2009-02-19 07:08:38 -08:00
Shehjar Tikoo
57957c59cd Remove conf->cache_size checks
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>
2009-02-19 07:08:30 -08:00
Shehjar Tikoo
6a250d9087 Remove dead code.
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
2009-02-19 07:08:22 -08:00
Basavanagowda Kanur
91df2dbcb1 cluster/ha to handle EBADFD for fd based operations as transport disconnected.
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
2009-02-19 07:08:12 -08:00
Vikas Gorur
ed1d91986c warn on ERANGE error for lgetxattr in posix
(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>
2009-02-19 04:35:31 -08:00
Shehjar Tikoo
1c701badce Fix the order of CALLOC() args
Fix the order of  CALLOC arguments.

Signed-off-by: Shehjar Tikoo <shehjart@zresearch.com>
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
2009-02-19 02:58:14 -08:00
Anand V. Avati
0bb3a56f24 updated commit.sh
changed commit.sh for git usage

Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
2009-02-19 02:58:01 -08:00
Vikas Gorur
9a4bba3a7a added lock-ahead translator design document
Design document for the lock-ahead translator

Vikas

Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
2009-02-19 02:57:35 -08:00
Vikas Gorur
77adf4cd64 Added all files 2009-02-18 17:36:07 +05:30
Vikas Gorur
f3b2e6580e Initial import 2009-02-18 17:01:30 +05:30