summaryrefslogtreecommitdiffstats
path: root/extras
Commit message (Collapse)AuthorAgeFilesLines
* Changes to volgen such that it does not error out in python2.4Raghavendra Bhat2010-06-101-1/+4
| | | | | | | | Signed-off-by: Raghavendra Bhat <raghavendrabhat@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 988 (volgen in master generates error) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=988
* extras/gnfs-lognalyzer: Delete class instance to release mem earlyShehjar Tikoo2010-06-011-0/+1
| | | | | | | | Signed-off-by: Shehjar Tikoo <shehjart@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 913 (NFS-specific log analyzer tool) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=913
* OS X: make location of launchd service configurableCsaba Henk2010-05-311-1/+3
| | | | | | | | Signed-off-by: Csaba Henk <csaba@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 361 (GlusterFS 3.0 should work on Mac OS/X) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=361
* glusterfs-profiler: Add text mode support.Vikas Gorur2010-05-111-42/+599
| | | | | | | | | | | | | | | glusterfs-profiler works in text mode by default now. This allows it to run on systems which don't have matplotlib installed. Modes can be selected using: -m graph - Graphical mode -m text - Text mode (default) Signed-off-by: Vikas Gorur <vikas@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 268 (Add timing instrumentation code) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=268
* extras: Add NFS-specific log analyzer toolShehjar Tikoo2010-05-101-0/+143
| | | | | | | | | | | | | | | | | Most of the time, a NFS request and the reply are separated by hundreds of lines of other debugging output most of which is not always relevant for NFS debugging. This script synthesizes the full glusterfs log into the parts relevant for NFS while bringing together the NFS requests with there replies on one line. Min log-level required for this script to be useful is DEBUG. Only works for NFS translator. Signed-off-by: Shehjar Tikoo <shehjart@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 913 (NFS-specific log analyzer tool) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=913
* extras/volgen: Volgen patchsetHarshavardhana2010-04-225-321/+241
| | | | | | | | | | | | | | | | | | | | | | -- Supports NFS Translator. -- Consolidated common API's into Common.py. -- Removed unused CreateBooster.py. -- Added code for "--add-server" for dynamic volumes. Currently its commented out we will use it when needed. -- No more options hiding in background anymore. All options specified for each translator are commented and exposed. Only necessary values are enabled. This is done due to necessary cleanup of unwanted options by exposing them. PENDING: "replicate" translator -- Quota is disabled for native NFS on client side. Only server side quota can be used as of now. -- Additional code cleanup. Signed-off-by: Harshavardhana <harsha@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 822 (Volgen changes supporting NFS) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=822
* extras/profiler/glusterfs-profiler: Add graphing tool.Vikas Gorur2010-04-021-0/+267
| | | | | | | | | | | glusterfs-profiler is a Python tool that can graphically display the profiling information printed in the process state dump. Signed-off-by: Vikas Gorur <vikas@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 268 (Add timing instrumentation code) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=268
* Fix backtick evaluation bug in cache-sizeHarshavardhana2010-03-291-1/+1
| | | | | | | | Signed-off-by: Harshavardhana <harsha@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 768 (cache-size might be wrong in glusterfs.vol) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=768
* extras/volgen: Add copyright headers.Vikas Gorur2010-03-243-0/+52
| | | | | | | | Signed-off-by: Vikas Gorur <vikas@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 751 (Copyright headers missing) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=751
* Fixed "." delimiter for cache-size calculation which would fail on different ↵Harshavardhana2010-03-151-1/+1
| | | | | | | | | | | | locale. Thanks to Filip Valder < valder (a) netdevelo.cz > for suggestions. Signed-off-by: Harshavardhana <harsha@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 720 (Default . decimal delimiter will not work for other locale) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=720
* extras: Add script to be used before using quota translator.Pavan Sondur2010-03-092-1/+87
| | | | | | | | Signed-off-by: Pavan Vilas Sondur <pavan@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 569 (Memory leak in quota translator) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=569
* Add quota support to volgenHarshavardhana Ranganath2010-02-182-3/+41
| | | | | | | | | | | | New options on command line 1. --volume-size-server - Volume sizes for server side posix exports 2. --volume-size-client - Volume sizes for client side exports Signed-off-by: Harshavardhana <harsha@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 611 (Add quota support to volgen) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=611
* Remove dns lookup issued for each hostnames.Harshavardhana Ranganath2010-02-181-13/+2
| | | | | | | | Signed-off-by: Harshavardhana <harsha@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 563 (glusterfs-volgen: can't handle multiple network interfaces) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=563
* Fix occurence of cache-size being floating pointHarshavardhana Ranganath2010-01-251-2/+2
| | | | | | | | Signed-off-by: Harshavardhana <harsha@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 516 (cache-size should not be hard-coded to 1GB) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=516
* Cache size is now dynamic and is 20% of the total memory on the client side.Harshavardhana Ranganath2010-01-212-4/+5
| | | | | | | | Signed-off-by: Harshavardhana <harsha@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 516 (cache-size should not be hard-coded to 1GB) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=516
* extras: Add defrag scripts to the repositoryPavan Sondur2010-01-194-1/+126
| | | | | | | | Signed-off-by: Pavan Vilas Sondur <pavan@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 478 (Add defrag scripts into glusterfs) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=478
* Changed occurrences of Z Research to GlusterVijay Bellur2009-12-071-1/+1
| | | | Signed-off-by: Vijay Bellur <vijay@gluster.com>
* Fix critical argument validation bug found during initial testing.Harshavardhana Ranganath2009-12-062-1/+10
| | | | | | | | Signed-off-by: Harshavardhana <harsha@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 437 (Fix critical argument validation check on Fedora11 systems) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=437
* glusterfs-volgen honours now build level prefix.Harshavardhana Ranganath2009-12-061-2/+4
| | | | | | | | Signed-off-by: Harshavardhana <harsha@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 437 (Fix critical argument validation check on Fedora11 systems) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=437
* extras/benchmarking: port glfs-bm.c to master.Raghavendra G2009-12-011-21/+29
| | | | | | | | Signed-off-by: Raghavendra G <raghavendra@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 422 (port glfs-bm to latest code-base) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=422
* Booster configuration fixed for per transport type and honours conf-dir option.Harshavardhana Ranganath2009-12-012-11/+57
| | | | | | | | Signed-off-by: Harshavardhana <harsha@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 421 (Make booster configuration honour conf-dir and transport type) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=421
* Removed deprecated export_dir in print string.Harshavardhana Ranganath2009-11-281-1/+1
| | | | | | | | Signed-off-by: Harshavardhana <harsha@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 412 (Remove deprecated export_dir in print string) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=412
* Volgen rewritten using option parser and added proper support for booster.Harshavardhana Ranganath2009-11-263-211/+274
| | | | | | | | Signed-off-by: Harshavardhana <harsha@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 411 (Rewrite volgen using option parser and extend cifs/nfs support) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=411
* Volgen supporting multidisks and booster configuration for nfs and cifsHarshavardhana Ranganath2009-11-266-440/+487
| | | | | | | | Signed-off-by: Harshavardhana <harsha@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 396 (Volgen multiple export directory support) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=396
* Fix Redhat init file so that it knows the correct binary locationPaul Rawson2009-11-191-1/+1
| | | | | | | | Signed-off-by: Paul Rawson <plrca2@gmail.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 388 (Redhat initfile fix) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=388
* extras/glusterfs-volgen: Make the script more user-friendly.Vikas Gorur2009-11-131-30/+57
| | | | | | | | | | | | | Error messages now print more detail. Details of export/mount files written is also printed. Also adds a new option '--version'. Signed-off-by: Vikas Gorur <vikas@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 343 (Placeholder bug for adding volgen into rpm, bdb makefile changes, etc) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=343
* Add glusterfs-volgen to master, change fusermount options and other changes ↵Pavan Sondur2009-11-112-1/+5
| | | | | | | | | | | | | | | | to rpm spec file. The patch has the following changes: * Rename glusterfs-volgen.py and include it in the rpm spec file * Enable fusermount by default. Change fusermount configure option from disable to enable. * Remove BDB from configure.ac, essentially removing it from the normal build. * Remove all dependencies on fuse in the rpm spec file. Signed-off-by: Pavan Vilas Sondur <pavan@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 343 (Placeholder bug for adding volgen into rpm, bdb makefile changes, etc) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=343
* volgen: remove trailing whitespaceCorentin Chary2009-10-301-28/+28
| | | | | Signed-off-by: Corentin Chary <corentin.chary@gmail.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
* volgen: Add conf-dir optionCorentin Chary2009-10-301-1/+6
| | | | | | | | Add a conf-dir option to change the output directory for generated files. Signed-off-by: Corentin Chary <corentin.chary@gmail.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
* Add glusterfs-volgen to masterPavan Sondur2009-10-282-1/+402
| | | | | | | Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 343 (GlusterFS volume generator - 'volgen') URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=343
* extras/init.d: make install directory configurable with --with-initdirAnand V. Avati2009-10-271-1/+1
|
* Changed occurrences of Z Research to Gluster.Vijay Bellur2009-10-0714-21/+21
| | | | Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
* extras: Add LD_PRELOAD test toolShehjar Tikoo2009-09-155-0/+1089
| | | | | | | | | | | | | | This tool allows us to check the sanity of the LD_PRELOAD mechanism so that we can be sure that an application's syscalls will be redirected into booster when that library is LD_PRELOADed. In case of failed syscalls, this tool should be run first to see if the calls are redirected as required. Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 251 (Improve booster debugging through ld-preload testing tool) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=251
* Remove absolute path for init scripts.Harshavardhana2009-05-291-1/+1
| | | | Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
* modified init scripts to honour @prefix@Harshavardhana2009-05-163-3/+9
| | | | | | fixes http://savannah.nongnu.org/bugs/?26581 Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
* backend-xattr-sanitize.sh: script added to extras/Anand V. Avati2009-05-072-1/+67
| | | | | | | | Run the script as: sh$ ./backend-xattr-sanitize.sh /data/export0 and it will remove all the known stale xattrs on the backend files and dirs
* minor build fix - set EXTRA_DIST to point to MacOSX/Portfile instead of PortfileAnand V. Avati2009-04-231-1/+1
|
* Add MacOSX based packaging file into repoHarshavardhana2009-04-222-1/+85
| | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
* enhancement to migrate-unify-to-distribute.shAnand V. Avati2009-04-181-2/+15
|
* added migration script from unify based setup to distribute based setupAmar Tumballi2009-04-182-1/+24
| | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
* Renamed abs_top_srcdir to top_srcdir for older versions of autotoolHarshavardhana2009-04-171-1/+1
| | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
* Fixed the build problems observedHarshavardhana2009-04-161-1/+1
| | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
* Commit package making files for FreeBSD and Solaris platform.Harshavardhana2009-04-089-0/+487
| | | | | | | | | Commit for package making related files for FreeBSD and Solaris. These files are supposed to be in repository to not loose track and update them as needed. I will update them soon for upcoming release where we support Solaris on ib fabric also. Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
* Fixed build problems for init script installation.Harshavardhana2009-03-091-2/+4
| | | | | | Fixed build problem for init scripts (Reported by Krishna and Vikas). Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
* Added proper handling for the init scripts for (Debian, Ubuntu, SuSE, ↵Harshavardhana2009-03-034-6/+81
| | | | | | | | | | | | | | Redhat), SuSE init script also added. * Init scripts added for Debian, Redhat, SuSE distribution, each are installed by checking each distribution specific. Tested on 1. Debian, Ubuntu. 2. Redhat, CentOS. 3. OpenSUSE. Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
* CALLOC changed to calloc in rdd.c and several other cleanup and moved rdd.c ↵2.0.0rc3Harshavardhana2009-02-282-35/+67
| | | | | | into more appropriate "benchmarking" directory. Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
* Removed unncessary EXTRA_DIST entries and updated benchmarking directoryHarshavardhana2009-02-283-9/+26
| | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
* Added /etc/init.d/glusterfsd for rpmbuildsHarshavardhana2009-02-282-76/+20
| | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
* updated copyright header to extend copyright upto 2009Basavanagowda Kanur2009-02-264-4/+4
| | | | | | updated copyright header to include 2009. Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
* Added all filesVikas Gorur2009-02-1817-0/+1890