48 Commits

Author SHA1 Message Date
Csaba Henk
7e489f3cc7 fix up OS X after dynamic volume changes
Note that contrib is not needed to be in toplevel Makefile as
its not a separate target, rather stuff is "pulled in" from there.

Signed-off-by: Csaba Henk <csaba@gluster.com>
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>

BUG: 971 (dynamic volume management)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=971
2010-07-08 05:25:02 -07:00
Vijay Bellur
0da2a6d08c Move rpc to top-level
Signed-off-by: Vijay Bellur <vijay@gluster.com>
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>

BUG: 875 (Implement a new protocol to provide proper backward/forward compatibility)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=875
2010-06-28 22:20:45 -07:00
Amar Tumballi
7ac6287fb6 misc updates in mainline
Signed-off-by: Amar Tumballi <amar@gluster.com>
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>

BUG: 875 (Implement a new protocol to provide proper backward/forward compatibility)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=875
2010-06-21 20:21:17 -07:00
Amar Tumballi
fdd2049263 rpc protocol
Signed-off-by: Amar Tumballi <amar@gluster.com>
Signed-off-by: Raghavendra G <raghavendra@gluster.com>
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>

BUG: 875 (Implement a new protocol to provide proper backward/forward compatibility)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=875
2010-06-21 20:21:10 -07:00
Amar Tumballi
b9b8734a94 renamed xlator/protocol to xlator/protocol/legacy
Signed-off-by: Amar Tumballi <amar@gluster.com>
Signed-off-by: Raghavendra G <raghavendra@gluster.com>
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>

BUG: 875 (Implement a new protocol to provide proper backward/forward compatibility)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=875
2010-06-21 20:21:05 -07:00
Csaba Henk
5e03484d1d OS X: make location of launchd service configurable
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
2010-05-31 05:39:22 -07:00
Csaba Henk
18d982e6d0 OS X: basic additions for OS X client support
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
2010-05-21 00:31:41 -07:00
Csaba Henk
2a0398dee8 added features/mac-compat
Signed-off-by: Csaba Henk <csaba@gluster.com>
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>

BUG: 800 (Problem on OSX with NFS and CIFS exports)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=800
2010-05-13 12:12:08 -07:00
Amar Tumballi
f75b763507 structuring of protocol - 2
* 'transports/' and 'auth/' moved to xlators/protocol/
* transport.{c,h}, authenticate.{c,h}, protocol.h moved to
    xlators/protocol/lib/src/

Signed-off-by: Amar Tumballi <amar@gluster.com>
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>

BUG: 875 (Implement a new protocol to provide proper backward/forward compatibility)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=875
2010-05-03 23:40:05 -07:00
Shehjar Tikoo
c4fd1cf732 nfs: Add generic nfs translator
Signed-off-by: Shehjar Tikoo <shehjart@gluster.com>
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>

BUG: 399 (NFS translator with Mount v3 and NFS v3 support)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=399
2010-03-31 07:44:02 -07:00
Shehjar Tikoo
eff83c8dae nfs: Add RPC and NFS XDR translation routines
Signed-off-by: Shehjar Tikoo <shehjart@gluster.com>
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>

BUG: 399 (NFS translator with Mount v3 and NFS v3 support)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=399
2010-03-31 07:43:55 -07:00
Shehjar Tikoo
fce2ae459b access-control: Introduce new translator
The access control translator is required for performing permission
checks on files and directories in line with posix conformance.
This is required to be kept separate from storage/posix so that
ACL support can also be later integrated into this translator.

Signed-off-by: Shehjar Tikoo <shehjart@gluster.com>
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>

BUG: 400 (Support auxiliary gids in GlusterFS)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=400
2010-03-31 07:43:51 -07:00
Amar Tumballi
1a15248382 new 'features/read-only' module added
Signed-off-by: Amar Tumballi <amar@gluster.com>
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>

BUG: 712 (mount.glusterfs script doesn't handle 'ro' option)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=712
2010-03-24 05:42:16 -07:00
Amar Tumballi
456701edd1 updated the build tree.
Signed-off-by: Amar Tumballi <amar@gluster.com>
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>

BUG: 734 (keep only the working/usable code in build tree to focus more on development)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=734
2010-03-24 00:22:35 -07:00
Anand V. Avati
8477f1c8a7 iatt: configure.ac not to build filter
Signed-off-by: Anand V. Avati <avati@blackhole.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
2010-03-16 08:31:24 -07:00
Vijay Bellur
96ae032a9c Support for Compilation on Solaris
This is based on patch at:

http://node3.rnode.ru/glusterfs-3.0.0-p1.patch

Thanks to Petrunin Egor <shellcode@mail.ru> for this patch.

Signed-off-by: Vijay Bellur <vijay@gluster.com>
Signed-off-by: Vijay Bellur <vijay@dev.gluster.com>

BUG: 481 (Fix compilation failures in Solaris)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=481
2009-12-20 21:38:36 -08:00
Csaba Henk
40541428c7 fix typo in configure.ac
Signed-off-by: Vijay Bellur <vijay@dev.gluster.com>
2009-12-18 08:41:37 -08:00
Amar Tumballi
3b2c86c8ed removed every reference to BDB from configure.ac
Signed-off-by: Amar Tumballi <amar@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
2009-12-06 22:16:51 -08:00
Harshavardhana Ranganath
a2d7ca2ee2 glusterfs-volgen honours now build level prefix.
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
2009-12-06 02:30:10 -08:00
Pavan Sondur
0cac194a14 Disable fusermount by default in configure.ac.
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
2009-12-03 02:00:50 -08:00
Amar Tumballi
8d9b1a1987 changed the version of glusterfs from 2.1.0 to 3.0.0
Signed-off-by: Amar Tumballi <amar@gluster.com>
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
2009-12-01 17:52:36 -08:00
Harshavardhana Ranganath
057c071403 Volgen supporting multidisks and booster configuration for nfs and cifs
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
2009-11-26 03:04:22 -08:00
Pavan Sondur
ef078a3359 Add glusterfs-volgen to master, change fusermount options and other changes 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
2009-11-11 23:18:19 -08:00
vinayak hegde
c1aa647291 configure.ac: Before checking for libglusterfsclient BUILD_LIBGLUSTERFSCLIENT should be initialized to no.
Signed-off-by: Vinayak <vinayak@gluster.com>
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>

BUG: 353 (./configure adds libglusterfsclient when it shouldn't)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=353
2009-11-03 06:48:50 -08:00
Anand V. Avati
5674c41b3e extras/init.d: make install directory configurable with --with-initdir 2009-10-27 05:52:16 -07:00
Vijay Bellur
0b1197defa Changed occurrences of Z Research to Gluster.
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
2009-10-07 03:54:49 -07:00
Raghavendra G
bcd092a21f rewriting stat-prefetch translator
- stat-prefetch aims to optimize operations like 'ls -l' where a readdir
   is immediately followed by stat calls on each of the directory entry read.
   More details on design can be found in doc/stat-prefetch-design.txt

Signed-off-by: Anand V. Avati <avati@dev.gluster.com>

BUG: 221 (stat prefetch implementation)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=221
2009-09-08 01:40:54 -07:00
Csaba Henk
901ba842cd bring in fusermount 2009-08-12 06:26:31 -07:00
Csaba Henk
d5910898f1 basic version of direct FUSE interface (ie. not relying on libfuse) 2009-08-12 06:21:04 -07:00
Anand V. Avati
48755d7eaf enable libglusterfsclient build by default
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
2009-07-23 15:38:57 -07:00
Amar Tumballi
2105226253 removed mod_glusterfs from the build
future plan is to have httpd use booster and libglusterfsclient
instead.

Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
2009-07-17 14:05:24 -07:00
Raghavendra G
1b4e68977c Implementing quick-read translator.
lookup can fetch the entire file in xattr dictionary using the key
"glusterfs.content". We set the maximum size of the file that can
be fetched so in the xattr_req dictionary using the same key. If file-size
is less than or equal to the value set in dictionary, the content is stored
in the dictionary using same key in lookup_cbk.

For small files, we can do an optimization wherein we do not really send the
calls open, read and close to the storage translators. Instead there can be
an xlator which fakes open, read and close calls. For reads, it sends the data
it has cached during lookup and hence saving the time for open, read and close
calls to reach storage translators (this time can be significant if calls have
to go through network to reach storage translator).

Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
2009-07-16 00:37:44 -07:00
Basavanagowda Kanur
80c769b54e use fuse_reply_iov() in fuse_readv_cbk
changes come in two places.

configure.ac - define HAVE_FUSE_REPLY_IOV if fuse_reply_iov is
               available in libfuse.

mount/fuse - use fuse_reply_iov() in place of fuse_reply_vec(), if
             HAVE_FUSE_REPLY_IOV is defined.

Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
2009-07-07 16:51:53 -07:00
Harshavardhana
5feb0ccb6e fuse 2.8 version check at configure level
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
2009-07-01 18:32:20 -07:00
Amar Tumballi
193b0e696f version changes in GIT repo to differentiate between branches
package-version: because master is undergoing changes for 2.1.x release,
protocol-version: because of addition of mops 'log'

Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
2009-06-30 16:10:34 -07:00
Harshavardhana Ranganath
84bfdfee65 Booster build should not depend on if mod_glusterfs is disabled
Thanks to Erick Tryzelaar

Sending this patch on behalf of Erick Tryzelaar <idadesub@users.sourceforge.net>

Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
2009-06-17 16:04:33 -07:00
Anand V. Avati
7c42fd0f20 configure.ac: print summary to stdout 2009-06-09 06:17:37 -07:00
Harshavardhana
bd297be1d1 Check for returns when apxs fails and disable mod_glusterfs
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
2009-05-21 03:35:36 -07:00
Csaba Henk
5bb6653c43 add xlator debug/io-stats
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
2009-05-20 12:33:25 -07:00
Harshavardhana
ce653eadc2 modified init scripts to honour @prefix@
fixes http://savannah.nongnu.org/bugs/?26581

Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
2009-05-16 15:32:44 +05:30
Csaba Henk
a2d44f8cd3 make the location of the mount utility tunable at configure time
Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
2009-03-26 16:31:07 +05:30
Anand V. Avati
eab182e8a8 disable building of user-guide
Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
2009-03-05 02:14:23 +05:30
Amar Tumballi
130ae0dee7 changes in patchset and repo version
noticed that if anyone pulls from git repo, the version says 'tla' and
patchset also shows tla's patch.

Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
2009-03-03 11:45:12 +05:30
Harshavardhana
da71d1359c Added proper handling for the init scripts for (Debian, Ubuntu, SuSE, 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>
2009-03-03 11:44:21 +05:30
Harshavardhana
b29a555c0b now user-guide.info is built only when "makeinfo" found
user-guide info is built only when "makeinfo" found

Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
2009-03-03 11:43:39 +05:30
Harshavardhana
b6bf3b8d6e CALLOC changed to calloc in rdd.c and several other cleanup and moved rdd.c into more appropriate "benchmarking" directory.
Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
2009-02-28 00:06:40 +05:30
Basavanagowda Kanur
3d8bc3cbaf updated copyright header to extend copyright upto 2009
updated copyright header to include 2009.

Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
2009-02-26 22:18:46 +05:30
Vikas Gorur
77adf4cd64 Added all files 2009-02-18 17:36:07 +05:30