summaryrefslogtreecommitdiffstats
Commit message (Expand)AuthorAgeFilesLines
* mgmt/glusterd: handle peer not connected in peer detachv3.1.0qa38Pranith K2010-10-021-10/+33
* debug/trace: print more information while logging inodelk and finodelk.Raghavendra G2010-10-021-5/+100
* get server xattr only if name is not NULLshishir gowda2010-10-021-4/+4
* rebalance: bring in two stagesv3.1.0qa37Amar Tumballi2010-10-013-68/+140
* glusterd: put all the code related to 'rebalance' in new fileAmar Tumballi2010-10-013-375/+415
* changes for replace-brick status messageRaghavendra Bhat2010-10-011-4/+29
* stat enhancementsAmar Tumballi2010-10-015-11/+95
* mgmt/glusterd: handle glusterfs crashes for start/stop of bricksPranith K2010-10-011-61/+66
* Changes to replace flock with gf_flock across GlusterFS.Pavan Sondur2010-10-0153-222/+242
* contrib/fuse: update from upstream [555d6b50 in git://fuse.git.sourceforge.ne...Csaba Henk2010-10-012-5/+55
* cluster/pump: Initiailize pthread mutex and saved fds list.Pavan Sondur2010-10-011-0/+3
* remove 'gfs_id' field from all protocol xdr structuresAmar Tumballi2010-10-018-507/+87
* check if the table is NULL before accessing itRaghavendra Bhat2010-10-011-1/+6
* nfs3: Revalidate inode on receiving ESTALE on lookupShehjar Tikoo2010-10-012-1/+51
* cluster/afr: Recover locks on child_up from source to sink.Pavan Sondur2010-10-017-6/+415
* mgmt/glusterd: Make replace-brick atomicVijay Bellur2010-10-011-18/+54
* changes for the gluster sanity scriptRaghavendra Bhat2010-10-011-1/+15
* Allow graph processing even if reconfigure failsshishir gowda2010-10-011-1/+0
* glusterfsd: perform init new graph if re-configure failsVijay Bellur2010-09-303-18/+43
* protocol/client: cluster/afr: Support lock recovery and self heal.Pavan Sondur2010-09-3023-74/+2120
* glusterd: fix in log filename and log rotatev3.1.0qa36Amar Tumballi2010-09-301-18/+64
* mgmt/glusterd: memory leak fixesPranith K2010-09-302-0/+8
* Block add, remove and replace brick ops when rebalance is in progressshishir gowda2010-09-305-10/+56
* start the per brick process with 'glusterfsd' instead of 'glusterfs'Amar Tumballi2010-09-301-1/+1
* rpc: in rpc_clnt_destroy(), destroy the memory pool alsoAmar Tumballi2010-09-301-0/+8
* mgmt/glusterd: remove debug messages in cleanup_and_exitPranith K2010-09-302-3/+2
* protocol/client: handle more NULL dereferenceAmar Tumballi2010-09-301-43/+50
* protocol/server: set 'this->private' only if 'init()' is successfulAmar Tumballi2010-09-291-2/+1
* replicate: remove checks which prevented self-heal when open fds were presentAnand Avati2010-09-292-16/+1
* replicate: keep read_child in inode ctx as up-to-date as possibleAnand Avati2010-09-293-4/+50
* pump: skip "." and ".." entries while traversing dir treeAnand Avati2010-09-291-0/+4
* mgmt/glusterd: resolve uuid if nullPranith K2010-09-291-0/+5
* glusterd: make sure init is not called when there is no topology changeKaushik BV2010-09-292-9/+27
* mgmt/glusterd: set the error before starting checksPranith K2010-09-291-0/+1
* mgmt/glusterd: volume start forcePranith K2010-09-2915-291/+317
* storage/posix: prevent chmod() from getting called on symlinksAnand Avati2010-09-291-6/+25
* features/quiesce: new translatorAmar Tumballi2010-09-298-1/+1660
* defaults.{c,h}: _resume functions addedAmar Tumballi2010-09-292-1166/+1340
* replicate: clear pre_op_done/piggyback values after open fd self-healAnand Avati2010-09-291-2/+11
* replicate: use new style (un)locking in self heal of missing entriesAnand Avati2010-09-291-62/+5
* replicate: replace first-write-to-flush optimizationAnand V. Avati2010-09-296-594/+422
* whitespace cleanupAnand V. Avati2010-09-294-1928/+1937
* mgmt/glusterd: brick info get should compare uuid instead of hostnamePranith K2010-09-281-3/+6
* rpc-clnt: handle NULL dereferencesAmar Tumballi2010-09-281-7/+11
* client-handshake: prevent NULL dereferenceAmar Tumballi2010-09-281-11/+33
* resolver: set safer conditionals during path creationAnand Avati2010-09-281-1/+1
* mgmt/glusterd: Fix incorrect state machine transitionv3.1.0qa35Vijay Bellur2010-09-281-1/+1
* mgmt/glusterd: compute cksum upon volume retrievalVijay Bellur2010-09-281-7/+12
* mgmt/glusterd: prevent cleanup_and_exit if its already startedPranith K2010-09-282-1/+8
* Changing readdir calls to readdirp calls in DHTshishir gowda2010-09-282-21/+12
| | | | | | also set the turn off filtering of ACL keys in FUSE xattr FOPs. Signed-off-by: Anand Avati <avati@gluster.com> BUG: 2815 (Server-enforced ACLs) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2815 * byte-order: htole*/letoh* and htobe*/betoh* for forced endian conversionsAnand Avati2011-07-081-6/+166 | | | | | | | Signed-off-by: Anand Avati <avati@gluster.com> BUG: 2815 (Server-enforced ACLs) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2815 * inode table: avoid memleak by freeing the allocated structures incase of failureRaghavendra Bhat2011-07-012-33/+28 | | | | | | | | Signed-off-by: Raghavendra Bhat <raghavendrabhat@gluster.com> Signed-off-by: Anand Avati <avati@gluster.com> BUG: 3103 (memleak in inode table creation) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=3103 * spelling corrections in glusterfs codeVishwanath2011-06-231-14/+14 | | | | | | | | Signed-off-by: Vishwanath S Bhat <vishwanath@gluster.com> Signed-off-by: Anand Avati <avati@gluster.com> BUG: 2903 (Last spelling errors in source code) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2903 * libglusterfs: added syncop_* functionsAmar Tumballi2011-06-232-2/+260 | | | | | | | | | | | | * implemented open,close,readv,writev,listxattr,create,unlink * also fixed a dictionary ref issue with lookup_cbk Signed-off-by: Amar Tumballi <amar@gluster.com> Signed-off-by: Anand Avati <avati@gluster.com> BUG: 3081 (synchronous operations should be enhanced) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=3081 * CLI : Display possible options in proper format.Gaurav2011-06-191-4/+12 | | | | | | | | Signed-off-by: Gaurav <gaurav@gluster.com> Signed-off-by: Anand Avati <avati@gluster.com> BUG: 2598 (Volume access option suceeds with any string value) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2598 * stack: make process state dump more debug friendlyAnand Avati2011-06-192-0/+30 | | | | | | | | | | store points of stack wind and unwind (function names) for each frame and dump them in process state dump Signed-off-by: Anand Avati <avati@gluster.com> BUG: 1059 (enhancements for getting statistics from performance translators) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1059 * logging: fill proper domain names at places where it is missingAmar Tumballi2011-06-165-72/+63 | | | | | | | | | | also changed some error messages where it was not explicit Signed-off-by: Amar Tumballi <amar@gluster.com> Signed-off-by: Anand Avati <avati@gluster.com> BUG: 2346 (Log message enhancements in GlusterFS - phase 1) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2346 * build: fixes to work on solarisAmar Tumballi2011-06-162-0/+21 | | | | | | | | Signed-off-by: Amar Tumballi <amar@gluster.com> Signed-off-by: Anand Avati <avati@gluster.com> BUG: 3002 (build issues on solaris) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=3002 * libglusterfs/call-stub: Allow unwinding of frames for rename during ↵Raghavendra G2011-06-161-2/+0 | | | | | | | | | | call_resume_unwind. Signed-off-by: Raghavendra G <raghavendra@gluster.com> Signed-off-by: Anand Avati <avati@gluster.com> BUG: 2697 (Quota: add-brick creates the size go awkward, though it was perfect earlier) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2697 * build warning fixesAmar Tumballi2011-06-162-1/+8 | | | | | | | | | | mainly fixes all the sockaddr related 'strict aliasing' warnings Signed-off-by: Amar Tumballi <amar@gluster.com> Signed-off-by: Anand Avati <avati@gluster.com> BUG: 2550 (build warnings) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2550 * syncop: Modified to accept one 'non-frame' arg.Krishnan P2011-06-162-7/+44 | | | | | | | | | | | | | Earlier syncops used to accept one argument which was a call frame to carry out the fops synchronously. Now we have two args passed to synctask function, one call frame and another void pointer. Signed-off-by: Krishnan Parthasarathi <kp@gluster.com> Signed-off-by: Anand Avati <avati@gluster.com> BUG: 3033 (Changes to replace-brick and syntask interface.) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=3033 * rbthashtable: implement traverser procedure.Raghavendra G2011-06-142-2/+55 | | | | | | | | Signed-off-by: Raghavendra G <raghavendra@gluster.com> Signed-off-by: Anand Avati <avati@gluster.com> BUG: 1059 (enhancements for getting statistics from performance translators) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1059 * libglusterfs/inode.c: Add version of inode_path which can be called holding ↵Raghavendra G2011-06-142-54/+75 | | | | | | | | | | inode->lock. Signed-off-by: Raghavendra G <raghavendra@gluster.com> Signed-off-by: Anand Avati <avati@gluster.com> BUG: 1059 (enhancements for getting statistics from performance translators) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1059 * libglusterfs/common-utils: Added gf_uint64_2human_readable function.Junaid2011-06-142-0/+38 | | | | | | | | | | | This function converts the given number to its corresponding representation in KB, MB, etc. Signed-off-by: Junaid <junaid@gluster.com> Signed-off-by: Anand Avati <avati@gluster.com> BUG: 2829 (Display the quota limit as it is configured) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2829 * DHT: check for mis-matching user xattrsshishir gowda2011-06-142-0/+21 | | | | | | | | Signed-off-by: shishir gowda <shishirng@gluster.com> Signed-off-by: Anand Avati <avati@gluster.com> BUG: 2717 (Detect user_xattr mismatches for dir's) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2717 * fix multiple transport portmap issues in client handshakeAmar Tumballi2011-06-081-0/+1 | | | | | | | | Signed-off-by: Amar Tumballi <amar@gluster.com> Signed-off-by: Anand Avati <avati@gluster.com> BUG: 2294 (Currently there is no way through cli to make a volume listen on both the transports (socket/rdma)) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2294 * syncop: Increase stack size for deep call stack.Krishnan Parthasarathi2011-06-081-1/+1 | | | | | | | | | | | | pump performs a depth-first traversal of directories using the syncop stack and this necessitates a larger stack when handling deeper directory trees. Signed-off-by: Krishnan Parthasarathi <kp@gluster.com> Signed-off-by: Anand Avati <avati@gluster.com> BUG: 2489 (GlusterFS crashing with replace-brick) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2489 * glusterfsd: prevent giving '-s' option without '--volfile-id' optionAmar Tumballi2011-05-311-1/+1 | | | | | | | | Signed-off-by: Amar Tumballi <amar@gluster.com> Signed-off-by: Anand Avati <avati@gluster.com> BUG: 2934 (for glusterfs binary, -s option without --volfile-id will fail without any notice to user) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2934 * fuse: NetBSD portability fixesAnand Avati2011-05-301-3/+3 | | | | | | | | | | | | On NetBSD use libperfuse(3), rename umount2(2) as unmount(2), and skip inexistant /etc/mtab management. Thanks to: Emmanuel Dreyfus <manu@netbsd.org> Signed-off-by: Anand Avati <avati@gluster.com> BUG: 2923 (NetBSD port) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2923 * errno: NetBSD does not have EDOOFUSAnand Avati2011-05-301-0/+2 | | | | | | | | | | | Thanks to: Emmanuel Dreyfus <manu@netbsd.org> [avati@gluster.com: check for EDOOFUS instead of !NetBSD] Signed-off-by: Anand Avati <avati@gluster.com> BUG: 2923 (NetBSD port) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2923 * rpc: use AI_ADDRCONFIG selectivelyAnand Avati2011-05-301-0/+4 | | | | | | | | | | | | | NetBSD does not have AI_ADDRCONFIG. This patch has a side effect: glusterfsd listens on IPv6 adresses only by default. Option transport.socket.bind-address in volume server-tcp must be used to listen on an IPv4 address. Thanks to: Emmanuel Dreyfus <manu@netbsd.org> Signed-off-by: Anand Avati <avati@gluster.com> BUG: 2923 (NetBSD port) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2923 * reimplement invocation of external programs with run APICsaba Henk2011-05-264-60/+7 | | | | | | | | Signed-off-by: Csaba Henk <csaba@gluster.com> Signed-off-by: Anand Avati <avati@gluster.com> BUG: 2562 (invoke external commands precisely with fork + exec) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2562 * libglusterfs: add 'run' sub-lib for safe and convenient invocation of ↵Csaba Henk2011-05-264-3/+678 | | | | | | | | | | | | | | | | | | | | | | | external programs Summary: - arguments first collected, then the invocation happens with fork + exec - flexible specification of arguments (besides si{mp,ng}le argument addition, support for adding multiple of them at a time / specifying one with printf style formatting) [ ==> goodbye printf percentage soup when composing commands ] - single point of error check - simple command runs are done in just one line - support for redirection, popen(3) like functionality API is documented in details in libglusterfs/src/run.h Signed-off-by: Csaba Henk <csaba@gluster.com> Signed-off-by: Anand Avati <avati@gluster.com> BUG: 2562 (invoke external commands precisely with fork + exec) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2562 * libglusterfs: clean up memory typesCsaba Henk2011-05-266-74/+15 | | | | | | | | | | Unify them in one header, weed out overlap. Signed-off-by: Csaba Henk <csaba@gluster.com> Signed-off-by: Anand Avati <avati@gluster.com> BUG: 2562 (invoke external commands precisely with fork + exec) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2562 * cli log level command and per translator log levelVenky Shankar2011-05-201-21/+18 | | | | | | | | Signed-off-by: Venky Shankar <venky@gluster.com> Signed-off-by: Anand Avati <avati@gluster.com> BUG: 2714 (implement cli log level command) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2714 * upon daemonizing, wait on mtab update to terminate in parentCsaba Henk2011-05-191-0/+1 | | | | | | | | | | | | | | This fixes the race in between the mtab update attempts of mount and umount when we do a lazy umount right after mounting, in order to hide the given fs instance; yet this way we still avoid the deadlock of the fs and mount which we can hit if we wait unconditionally for the mtab update to terminate (cf. bz #511). Signed-off-by: Csaba Henk <csaba@gluster.com> Signed-off-by: Anand Avati <avati@gluster.com> BUG: 2690 (race between mtab updates of mount and umount) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2690 * loc_t: add 'gfid' and 'pargfid' fieldsAmar Tumballi2011-05-032-1/+14 | | | | | | | | | | | | | | these fields are used mainly in case of selfheal path, where 'inode->gfid'||'parent->gfid' is not yet set. These fields in 'loc' will have lower precedence than 'inode->gfid' in client protocol. Signed-off-by: Amar Tumballi <amar@gluster.com> Signed-off-by: Anand Avati <avati@gluster.com> BUG: 2346 (Log message enhancements in GlusterFS - phase 1) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2346 * use "geo-replication" all over as the official name of this featureCsaba Henk2011-04-151-0/+1 | | | | | | | | | | Use GEOREP macro if you want to refer to the feature in code. Signed-off-by: Csaba Henk <csaba@gluster.com> Signed-off-by: Anand Avati <avati@gluster.com> BUG: 2757 (refactory gsync/gsyncd/syncdaemon/whatever to geo-replication) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2757 * libglusterfs: Check for null dereference in statedumpVijay Bellur2011-04-121-1/+2 | | | | | | | | Signed-off-by: Vijay Bellur <vijay@gluster.com> Signed-off-by: Anand Avati <avati@gluster.com> BUG: 2731 (coredump when process state dump command is issued immediately after mounting fuse client) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2731 * libglusterfs/dict: Donot perform NULL check on data in dict_foreachJunaid2011-04-121-2/+2 | | | | | | | | Signed-off-by: Junaid <junaid@gluster.com> Signed-off-by: Anand Avati <avati@gluster.com> BUG: 1816 (send volume options in friend add) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1816 * build fixesVenky Shankar2011-04-112-3/+4 | | | | | | | | Signed-off-by: Venky Shankar <venky@gluster.com> Signed-off-by: Anand Avati <avati@gluster.com> BUG: 2550 (build warnings) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2550 * libglusterfs/src: bring in VALIDATE_OR_GOTO to argsAmar Tumballi2011-04-112-128/+183 | | | | | | | | | | | so we can capture places which are calling these function with invalid arguments Signed-off-by: Amar Tumballi <amar@gluster.com> Signed-off-by: Anand Avati <avati@gluster.com> BUG: 2346 (Log message enhancements in GlusterFS - phase 1) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2346