Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | afr-transaction: handle double flushes | Anand V. Avati | 2009-04-20 | 1 | -1/+3 |
| | | | | __if_fd_pre_op_done - reset fd_ctx->pre_op_done to 0 so that double flushes do not result in two xattrop() calls | ||||
* | client_protocol_reconnect - do not send notify of CHILD_DOWN event if errno ↵ | Anand V. Avati | 2009-04-20 | 1 | -1/+1 |
| | | | | | | from transport_connect() was EINPROGRES This bug was racing between a CHILD_UP from poll thread resulting from the event_register() of the new socket called in fuse thread. CHILD_UP would sometimes overtake the CHILD_DOWN for EINPROGRESS. So replicate would receive CHILD_DOWN as the latest event. This resulted in self-heal not happening etc. | ||||
* | iobuf - account with iobref_size() instead of iov_length (vector) | Anand V. Avati | 2009-04-17 | 2 | -5/+9 |
| | |||||
* | Destroy old ping timer before setting new one. | Vikas Gorur | 2009-04-17 | 1 | -1/+5 |
| | | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com> | ||||
* | Fix two memory leaks in afr self heal code. | Vikas Gorur | 2009-04-17 | 1 | -0/+4 |
| | | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com> | ||||
* | Fixed parameter to finodelk in STACK_WIND in dht | Vikas Gorur | 2009-04-17 | 1 | -1/+1 |
| | | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com> | ||||
* | protocol/client - set remote inode number in inode context for root inode ↵ | Basavanagowda Kanur | 2009-04-17 | 1 | -23/+21 |
| | | | | | | also, during lookup_cbk(). Signed-off-by: Anand V. Avati <avati@amp.gluster.com> | ||||
* | protocol/client - NULL check for loc->inode added in statfs(), before trying ↵ | Basavanagowda Kanur | 2009-04-17 | 1 | -8/+10 |
| | | | | | | to retrieve remote inode number from loc->inode's context. Signed-off-by: Anand V. Avati <avati@amp.gluster.com> | ||||
* | logging enhances to commit d77279ef04ca75ab9715864274567d1ce0ce66a6 | Raghavendra G | 2009-04-16 | 2 | -11/+22 |
| | | | | | | - logging made more relevent. Signed-off-by: Anand V. Avati <avati@amp.gluster.com> | ||||
* | Use original pid when calling the FOP in afr transaction. | Vikas Gorur | 2009-04-16 | 2 | -3/+42 |
| | | | | | | | | Save the original pid while locking and restore it after the FOP is done. This ensures posix-locks can release locks (fcntl) properly. Signed-off-by: Anand V. Avati <avati@amp.gluster.com> | ||||
* | write-behind aggregate-size related changes | Raghavendra G | 2009-04-16 | 1 | -15/+76 |
| | | | | | | | | | | | This patch brings in following changes: 1. make aggregate-size as non-configurable and make it to be equal to maximum iobuf size. 2. best effort to write data in chunks of length as close to aggregate-size as possible but not greater than aggregate-size, since aggregate-size is made equal to Maximum size of iobuf. Signed-off-by: Anand V. Avati <avati@amp.gluster.com> | ||||
* | write-behind: adhere to coding guidelines. | Raghavendra G | 2009-04-16 | 1 | -16/+32 |
| | | | | | | - make sure lines are not greater than 80 characters in length Signed-off-by: Anand V. Avati <avati@amp.gluster.com> | ||||
* | cluster/distribute bug fix - try to create linkfile in ↵ | Basavanagowda Kanur | 2009-04-16 | 3 | -16/+68 |
| | | | | | | | | dht_lookup_everywhere_cbk(), only if hashed subvolume can be determined, else error out with ENOENT. -- with local fixes (avati) Signed-off-by: Anand V. Avati <avati@amp.gluster.com> | ||||
* | eliminate this_ino_get(), this_ino_set(). handle inode_ctx_{get,set}() at ↵ | Basavanagowda Kanur | 2009-04-16 | 1 | -132/+290 |
| | | | | | | | | | | the fop level itself. they used to log ambiguously and was of no use. logging is now more precise and will help in debugging, in case of errors. Signed-off-by: Anand V. Avati <avati@amp.gluster.com> | ||||
* | Changed xattr format of afr changelog to support adding and removing of ↵ | Vikas Gorur | 2009-04-16 | 11 | -287/+322 |
| | | | | | | subvolumes while keeping existing data. Signed-off-by: Anand V. Avati <avati@amp.gluster.com> | ||||
* | server-helpers: Add check for NULL connection arguement being passed in helpers. | Raghavendra G | 2009-04-14 | 1 | -2/+23 |
| | | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com> | ||||
* | cluster/unify link() should be sent to only one subvolume. | Basavanagowda Kanur | 2009-04-14 | 1 | -0/+1 |
| | | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com> | ||||
* | minor bug fix in posix_create() when 'o-direct enable' option is given. | Amar Tumballi | 2009-04-14 | 1 | -1/+1 |
| | | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com> | ||||
* | bug fixes in dht-disk-usage feature. | Amar Tumballi | 2009-04-14 | 4 | -35/+72 |
| | | | | | | fixes bugs seen with dht's disk usage. Signed-off-by: Anand V. Avati <avati@amp.gluster.com> | ||||
* | Send statbuf from the same subvolume, even across revalidates. | Vikas Gorur | 2009-04-13 | 1 | -5/+14 |
| | | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com> | ||||
* | use ctx->page_size in all translators and transports instead of having their ↵ | Anand V. Avati | 2009-04-13 | 3 | -63/+3 |
| | | | | | | own configurations Signed-off-by: Anand V. Avati <avati@amp.gluster.com> | ||||
* | client_readv_cbk - when op_ret is 0, iobuf comes NULL from transport, ↵ | Anand V. Avati | 2009-04-13 | 1 | -3/+5 |
| | | | | | | handles this case Signed-off-by: Anand V. Avati <avati@amp.gluster.com> | ||||
* | changes to database read interface, to make use of a given buffer instead of ↵ | Basavanagowda Kanur | 2009-04-13 | 3 | -79/+100 |
| | | | | | | allocating internally. Signed-off-by: Anand V. Avati <avati@amp.gluster.com> | ||||
* | log formatting fixes. use GF_PRI_SIZET for size_t. | Basavanagowda Kanur | 2009-04-13 | 1 | -22/+32 |
| | | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com> | ||||
* | minor initialization bug fix in quota's build_loc | Amar Tumballi | 2009-04-12 | 1 | -0/+1 |
| | | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com> | ||||
* | in dht, initialize the free available space properly, so the first few ↵ | Amar Tumballi | 2009-04-12 | 3 | -3/+52 |
| | | | | | | creates are not confused. Signed-off-by: Anand V. Avati <avati@amp.gluster.com> | ||||
* | feature to disable volumefile's checksum | Amar Tumballi | 2009-04-12 | 2 | -20/+47 |
| | | | | | | | in server volume define, "option verify-volfile-checksum no" to disable the checksum feature. Signed-off-by: Anand V. Avati <avati@amp.gluster.com> | ||||
* | reset errno to 0 before calling first fuse_lowlevel_new() to reliably detect ↵ | Anand V. Avati | 2009-04-12 | 1 | -1/+3 |
| | | | | | | for unsupported params Signed-off-by: Anand V. Avati <avati@amp.gluster.com> | ||||
* | io-threads: Remove unnecessary call to pthread_attr_setstacksize | Shehjar Tikoo | 2009-04-12 | 1 | -4/+0 |
| | | | | | | | We do not need to explicitly set the stack size to its default value. Signed-off-by: Anand V. Avati <avati@amp.gluster.com> | ||||
* | prefix ULL to large constants (to fix bdb build warning) | Anand V. Avati | 2009-04-12 | 1 | -2/+2 |
| | | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com> | ||||
* | updated mount/fuse with new readv writev prototypes | Anand V. Avati | 2009-04-12 | 1 | -37/+18 |
| | | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com> | ||||
* | updated encryption/rot-13 with new readv writev prototypes | Anand V. Avati | 2009-04-12 | 1 | -4/+7 |
| | | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com> | ||||
* | update features/quota with new readv writev prototypes | Anand V. Avati | 2009-04-12 | 1 | -7/+9 |
| | | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com> | ||||
* | updated features/filter with new readv writev prototypes | Anand V. Avati | 2009-04-12 | 1 | -4/+8 |
| | | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com> | ||||
* | updated features/locks with new readv writev prototypes | Anand V. Avati | 2009-04-12 | 1 | -8/+12 |
| | | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com> | ||||
* | updated debug/error-gen with new readv writev prototypes | Anand V. Avati | 2009-04-12 | 1 | -4/+8 |
| | | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com> | ||||
* | updated debug/trace with new readv writev prototypes | Anand V. Avati | 2009-04-12 | 1 | -4/+7 |
| | | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com> | ||||
* | updated performance/io-cache with new readv writev prototypes | Anand V. Avati | 2009-04-12 | 3 | -34/+41 |
| | | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com> | ||||
* | updated performance/io-threads with new readv writev prototypes | Anand V. Avati | 2009-04-12 | 1 | -6/+10 |
| | | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com> | ||||
* | update performance/read-ahead with new readv writev prototypes | Anand V. Avati | 2009-04-12 | 3 | -21/+21 |
| | | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com> | ||||
* | update performance/write-behind with new readv writev prototypes | Anand V. Avati | 2009-04-12 | 1 | -18/+18 |
| | | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com> | ||||
* | update protocol/server with new readv writev prototypes | Anand V. Avati | 2009-04-12 | 3 | -141/+118 |
| | | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com> | ||||
* | updated protocol/client with new readv writev prototypes | Anand V. Avati | 2009-04-12 | 3 | -125/+110 |
| | | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com> | ||||
* | update storage/bdb with new readv writev prototypes | Anand V. Avati | 2009-04-12 | 1 | -71/+26 |
| | | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com> | ||||
* | update storage/posix with new readv writev prototypes | Anand V. Avati | 2009-04-12 | 1 | -92/+22 |
| | | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com> | ||||
* | update cluster/map with new readv writev prototypes | Anand V. Avati | 2009-04-12 | 1 | -11/+13 |
| | | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com> | ||||
* | update cluster/ha with new readv writev prototypes | Anand V. Avati | 2009-04-12 | 1 | -6/+10 |
| | | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com> | ||||
* | update cluster/dht with new readv writev prototypes | Anand V. Avati | 2009-04-12 | 1 | -5/+8 |
| | | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com> | ||||
* | update cluster/afr with new readv writev prototypes | Anand V. Avati | 2009-04-12 | 5 | -17/+20 |
| | | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com> | ||||
* | update cluster/stripe with new readv writev prototypes | Anand V. Avati | 2009-04-12 | 1 | -13/+17 |
| | | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com> |