721 Commits

Author SHA1 Message Date
Basavanagowda Kanur
31c817836c xlator.c option validation should check for empty valid options list (for strings).
'if (!opt->value)' always fails as 'value' member is an array of size ZR_OPTION_MAX_ARRAY_SIZE and is always non-null. it should have been 'if (opt->value[0] == NULL)' instead.

Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
2009-03-12 16:10:24 +05:30
Bharat Shetty Barkur
6a70225b69 Fixed two more occurrences of poll_out variables used for logging.
Changed the poll_in variable to poll_out variable at two more places in the code.

Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
2009-03-10 00:55:20 +05:30
Vikas Gorur
0991858fca added fgetxattr and fsetxattr FOPs
Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
2009-03-07 02:08:41 +05:30
Raghavendra G
762b1f9aef code changes in the usage of inode_ctx_get and inode_ctx_put after their implementation is changed to hold inode->lock.
Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
2009-03-05 01:04:34 +05:30
Amar Tumballi
c8340e70f8 Change to fix the build problems with bison 1.28 (in RHEL 4.6)
Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
2009-03-04 14:53:10 +05:30
Anand V. Avati
1b51e542b9 inode_ctx_t locks added
Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
2009-03-03 20:30:42 +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
Bharat Shetty Barkur
7d7610007a Fixed small error regarding the poll_out variable
Changed the poll_in variable to poll_out variable, so that the logging is relevant to the case of invalid poll_out value.

Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
2009-03-03 11:36:57 +05:30
Amar Tumballi
8462dd88ad volumefile modification awareness to make sure there are no inconsistencies.
Complete (including feature to properly umount) in my sense.

Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
2009-02-27 16:13:55 +05:30
Basavanagowda Kanur
f097e77ffb moved dht_hashfn_tea() to libglusterfs/hashfn.c as gf_dm_hashfn() (dm - davies-meyer).
moved dht_hashfn_tea() to libglusterfs/src/hashfn.c as gf_dm_hashfn().

Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
2009-02-27 01:37:08 +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
Basavanagowda Kanur
d3a318973c fd->lock added to protect transactions for accessing and modifying fd->_ctx.
fd->_ctx access and modifications are now protected by fd->lock.

Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
2009-02-26 20:51:50 +05:30
Basavanagowda Kanur
b537778790 __inode_unlink() should not be sent a NULL inode.
unlink_inode might be NULL in inode_unlink() under the following circumstances:
1. 'inode' got forget() and was unhashed.
2. 'inode' was replaced by a new inode object and the new object got forget() or was pruned out of the inode table.

Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
2009-02-26 16:56:54 +05:30
Raghavendra G
ab7fe2987f backtick support enhancement
- text within backtick can span multiple lines
  - check exit status of command after execution

Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
2009-02-25 16:43:39 +05:30
Vikas Gorur
a3ed4474de added lock_notify and lock_fnotify FOPs to everywhere necessary in libglusterfs/*
fixed indentation and resubmitting

Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
2009-02-23 19:31:52 +05:30
Harshavardhana
a2131aeafa attritbute and entry timeout values under volume now support float/double values
Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
2009-02-21 21:14:41 +05:30
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
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
Vikas Gorur
77adf4cd64 Added all files 2009-02-18 17:36:07 +05:30