<feed xmlns='http://www.w3.org/2005/Atom'>
<title>gluster-swift.git, branch kilo</title>
<subtitle></subtitle>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/gluster-swift.git/'/>
<entry>
<title>Support volume names having underscore</title>
<updated>2017-05-15T11:47:53+00:00</updated>
<author>
<name>venkata edara</name>
<email>redara@redhat.com</email>
</author>
<published>2017-05-10T12:05:00+00:00</published>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/gluster-swift.git/commit/?id=e9565912372cb3a36f8466e459ac599729834b51'/>
<id>e9565912372cb3a36f8466e459ac599729834b51</id>
<content type='text'>
gluster-swift-gen-builders now calls swift-ring-builder with verbose
arguments when adding evice to ring.

BUG: 1447684

Change-Id: I3d5a921308c68873d21397b00ba4d404b17b9068
Signed-off-by: venkata edara &lt;redara@redhat.com&gt;
Reviewed-on: https://review.gluster.org/17236
Reviewed-by: Prashanth Pai &lt;ppai@redhat.com&gt;
Tested-by: Prashanth Pai &lt;ppai@redhat.com&gt;
(cherry picked from commit b572a2af466d1464f525ea773b005539499cbffa)
Reviewed-on: https://review.gluster.org/17293
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
gluster-swift-gen-builders now calls swift-ring-builder with verbose
arguments when adding evice to ring.

BUG: 1447684

Change-Id: I3d5a921308c68873d21397b00ba4d404b17b9068
Signed-off-by: venkata edara &lt;redara@redhat.com&gt;
Reviewed-on: https://review.gluster.org/17236
Reviewed-by: Prashanth Pai &lt;ppai@redhat.com&gt;
Tested-by: Prashanth Pai &lt;ppai@redhat.com&gt;
(cherry picked from commit b572a2af466d1464f525ea773b005539499cbffa)
Reviewed-on: https://review.gluster.org/17293
</pre>
</div>
</content>
</entry>
<entry>
<title>Change kilo branch .gitreview pointer</title>
<updated>2017-04-25T06:57:32+00:00</updated>
<author>
<name>Prashanth Pai</name>
<email>ppai@redhat.com</email>
</author>
<published>2017-04-25T06:54:48+00:00</published>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/gluster-swift.git/commit/?id=bff87765affdb7013277ba8bee1949ae57ff0039'/>
<id>bff87765affdb7013277ba8bee1949ae57ff0039</id>
<content type='text'>
Change-Id: I31259b7b38d93b3527a7f6e0c05f42ef3ad8300d
Signed-off-by: Prashanth Pai &lt;ppai@redhat.com&gt;
Reviewed-on: https://review.gluster.org/17107
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I31259b7b38d93b3527a7f6e0c05f42ef3ad8300d
Signed-off-by: Prashanth Pai &lt;ppai@redhat.com&gt;
Reviewed-on: https://review.gluster.org/17107
</pre>
</div>
</content>
</entry>
<entry>
<title>Add support for S3 Multipart Upload API</title>
<updated>2017-04-04T13:27:23+00:00</updated>
<author>
<name>venkata edara</name>
<email>redara@redhat.com</email>
</author>
<published>2017-04-04T10:22:53+00:00</published>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/gluster-swift.git/commit/?id=e9c2c5eb55e1012ccce0ce51ac48bed0c0f1d4b7'/>
<id>e9c2c5eb55e1012ccce0ce51ac48bed0c0f1d4b7</id>
<content type='text'>
Obj server checks if +segments is there and creates directory to support multi-part upload

Updated s3.md to show usage of multi-part upload.

Change-Id: I1e8a0dd850f51b2cc5dd2147607e46978dc2f936
Signed-off-by: venkata edara &lt;redara@redhat.com&gt;
Reviewed-on: https://review.gluster.org/16983
Reviewed-by: Prashanth Pai &lt;ppai@redhat.com&gt;
Tested-by: Prashanth Pai &lt;ppai@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Obj server checks if +segments is there and creates directory to support multi-part upload

Updated s3.md to show usage of multi-part upload.

Change-Id: I1e8a0dd850f51b2cc5dd2147607e46978dc2f936
Signed-off-by: venkata edara &lt;redara@redhat.com&gt;
Reviewed-on: https://review.gluster.org/16983
Reviewed-by: Prashanth Pai &lt;ppai@redhat.com&gt;
Tested-by: Prashanth Pai &lt;ppai@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix spec file</title>
<updated>2017-03-30T07:22:32+00:00</updated>
<author>
<name>Prashanth Pai</name>
<email>ppai@redhat.com</email>
</author>
<published>2016-09-12T06:21:20+00:00</published>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/gluster-swift.git/commit/?id=c1c39697d8866cc7437da8fdfd2b08fd8cb54690'/>
<id>c1c39697d8866cc7437da8fdfd2b08fd8cb54690</id>
<content type='text'>
This patch makes minimal set of changes required to get RPM building
working again. The good old script for creating the RPMs works now:

$ ./makerpm.sh

Change-Id: Ia0ce50382ba34db69d9cf82a11305237f5ba4edb
Signed-off-by: Prashanth Pai &lt;ppai@redhat.com&gt;
Reviewed-on: https://review.gluster.org/15471
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch makes minimal set of changes required to get RPM building
working again. The good old script for creating the RPMs works now:

$ ./makerpm.sh

Change-Id: Ia0ce50382ba34db69d9cf82a11305237f5ba4edb
Signed-off-by: Prashanth Pai &lt;ppai@redhat.com&gt;
Reviewed-on: https://review.gluster.org/15471
</pre>
</div>
</content>
</entry>
<entry>
<title>Update quick start guide</title>
<updated>2017-03-28T05:35:52+00:00</updated>
<author>
<name>Prashanth Pai</name>
<email>ppai@redhat.com</email>
</author>
<published>2017-03-02T06:08:43+00:00</published>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/gluster-swift.git/commit/?id=adf2ce0237430d9835cd291b36f4d6b40fdc9e09'/>
<id>adf2ce0237430d9835cd291b36f4d6b40fdc9e09</id>
<content type='text'>
The steps in this updated guide is verified on:
* CentOS 7
* Ubuntu 16.04 'Xenial' LTS

Change-Id: I47c1bfadebbafd56ceee0e09b1afef862700081a
Signed-off-by: Prashanth Pai &lt;ppai@redhat.com&gt;
Reviewed-on: https://review.gluster.org/16822
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The steps in this updated guide is verified on:
* CentOS 7
* Ubuntu 16.04 'Xenial' LTS

Change-Id: I47c1bfadebbafd56ceee0e09b1afef862700081a
Signed-off-by: Prashanth Pai &lt;ppai@redhat.com&gt;
Reviewed-on: https://review.gluster.org/16822
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix redundant stat in account and container server</title>
<updated>2016-11-18T17:48:42+00:00</updated>
<author>
<name>Prashanth Pai</name>
<email>ppai@redhat.com</email>
</author>
<published>2016-05-26T09:30:13+00:00</published>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/gluster-swift.git/commit/?id=3330c26f199f4a149bf0091259d88534d61f53fa'/>
<id>3330c26f199f4a149bf0091259d88534d61f53fa</id>
<content type='text'>
Multiple stat() calls were made while serving GET requests for container
and account. This removes those calls and can be easily verified using
strace.

There is room for further refactoring of code to simplify it. This will
be addressed as a separate change to keep things simple in this patch.

Change-Id: Ief457ff869c58519e9dbeb4ef13797185f536673
Signed-off-by: Prashanth Pai &lt;ppai@redhat.com&gt;
Reviewed-on: http://review.gluster.org/14543
Reviewed-by: Thiago da Silva &lt;thiago@redhat.com&gt;
Tested-by: Thiago da Silva &lt;thiago@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Multiple stat() calls were made while serving GET requests for container
and account. This removes those calls and can be easily verified using
strace.

There is room for further refactoring of code to simplify it. This will
be addressed as a separate change to keep things simple in this patch.

Change-Id: Ief457ff869c58519e9dbeb4ef13797185f536673
Signed-off-by: Prashanth Pai &lt;ppai@redhat.com&gt;
Reviewed-on: http://review.gluster.org/14543
Reviewed-by: Thiago da Silva &lt;thiago@redhat.com&gt;
Tested-by: Thiago da Silva &lt;thiago@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Use scandir if available</title>
<updated>2016-11-18T16:15:52+00:00</updated>
<author>
<name>Prashanth Pai</name>
<email>ppai@redhat.com</email>
</author>
<published>2016-05-20T14:03:20+00:00</published>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/gluster-swift.git/commit/?id=ce0feed60b2077085a66d34021a3c96bbb7f5558'/>
<id>ce0feed60b2077085a66d34021a3c96bbb7f5558</id>
<content type='text'>
scandir[1] is a directory iteration function like os.listdir(), which
can optimize os.walk() by avoiding unnecessary calls to os.stat()

Using scandir to avoid stat() calls requires GlusterFS to correctly
set d_type field of entries in readdir() responses[2].

[1] https://github.com/benhoyt/scandir
[2] http://review.gluster.org/#/c/14095/

Change-Id: Ibdb9a07d25708b5cd8fd663ac99669e7f1f7ba75
Signed-off-by: Prashanth Pai &lt;ppai@redhat.com&gt;
Reviewed-on: http://review.gluster.org/14460
Reviewed-by: Thiago da Silva &lt;thiago@redhat.com&gt;
Tested-by: Thiago da Silva &lt;thiago@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
scandir[1] is a directory iteration function like os.listdir(), which
can optimize os.walk() by avoiding unnecessary calls to os.stat()

Using scandir to avoid stat() calls requires GlusterFS to correctly
set d_type field of entries in readdir() responses[2].

[1] https://github.com/benhoyt/scandir
[2] http://review.gluster.org/#/c/14095/

Change-Id: Ibdb9a07d25708b5cd8fd663ac99669e7f1f7ba75
Signed-off-by: Prashanth Pai &lt;ppai@redhat.com&gt;
Reviewed-on: http://review.gluster.org/14460
Reviewed-by: Thiago da Silva &lt;thiago@redhat.com&gt;
Tested-by: Thiago da Silva &lt;thiago@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>s3: Make s3 support configurable</title>
<updated>2016-09-19T01:39:03+00:00</updated>
<author>
<name>Prashanth Pai</name>
<email>ppai@redhat.com</email>
</author>
<published>2016-08-05T08:55:08+00:00</published>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/gluster-swift.git/commit/?id=2318a57a1ea632f77d5f78dc11023fb3b7fc2ad0'/>
<id>2318a57a1ea632f77d5f78dc11023fb3b7fc2ad0</id>
<content type='text'>
Amazon S3 compatibility:
This change makes S3 support tunable using a config option and is
turned off by default.

This is a manual backport of this upstream swauth change:
https://review.openstack.org/#/c/326336/

Change-Id: I106e3274c6d68f4575c1bf1a9013f066e969cb17
Signed-off-by: Prashanth Pai &lt;ppai@redhat.com&gt;
Reviewed-on: http://review.gluster.org/15098
Reviewed-by: Thiago da Silva &lt;thiago@redhat.com&gt;
Tested-by: Thiago da Silva &lt;thiago@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Amazon S3 compatibility:
This change makes S3 support tunable using a config option and is
turned off by default.

This is a manual backport of this upstream swauth change:
https://review.openstack.org/#/c/326336/

Change-Id: I106e3274c6d68f4575c1bf1a9013f066e969cb17
Signed-off-by: Prashanth Pai &lt;ppai@redhat.com&gt;
Reviewed-on: http://review.gluster.org/15098
Reviewed-by: Thiago da Silva &lt;thiago@redhat.com&gt;
Tested-by: Thiago da Silva &lt;thiago@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Don't include salt in HMAC computation</title>
<updated>2016-09-13T14:00:49+00:00</updated>
<author>
<name>Prashanth Pai</name>
<email>ppai@redhat.com</email>
</author>
<published>2016-08-05T05:55:42+00:00</published>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/gluster-swift.git/commit/?id=83c50ae4ebd4d72988a781ec4183f1c62f6a63a4'/>
<id>83c50ae4ebd4d72988a781ec4183f1c62f6a63a4</id>
<content type='text'>
Currently, the input to HMAC function is the entire stored credential
in the format '&lt;salt&gt;$&lt;hash&gt;` but it should rather be only the hashed
key/password.

This is a minimal manual backport of this upstream swauth change:
https://review.openstack.org/#/c/292529/

Change-Id: Ib119522d36359f87579ff8e4ada7331643695634
Signed-off-by: Prashanth Pai &lt;ppai@redhat.com&gt;
Reviewed-on: http://review.gluster.org/15097
Reviewed-by: Thiago da Silva &lt;thiago@redhat.com&gt;
Tested-by: Thiago da Silva &lt;thiago@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Currently, the input to HMAC function is the entire stored credential
in the format '&lt;salt&gt;$&lt;hash&gt;` but it should rather be only the hashed
key/password.

This is a minimal manual backport of this upstream swauth change:
https://review.openstack.org/#/c/292529/

Change-Id: Ib119522d36359f87579ff8e4ada7331643695634
Signed-off-by: Prashanth Pai &lt;ppai@redhat.com&gt;
Reviewed-on: http://review.gluster.org/15097
Reviewed-by: Thiago da Silva &lt;thiago@redhat.com&gt;
Tested-by: Thiago da Silva &lt;thiago@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix validation of marker dir objects</title>
<updated>2016-09-12T17:14:52+00:00</updated>
<author>
<name>Prashanth Pai</name>
<email>ppai@redhat.com</email>
</author>
<published>2016-05-19T10:03:07+00:00</published>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/gluster-swift.git/commit/?id=a324c6e5cdfad77e8f91ec9869deb6b78425807e'/>
<id>a324c6e5cdfad77e8f91ec9869deb6b78425807e</id>
<content type='text'>
For marker directory objects, validate_object() always returned False.
This was because st_size from stat was being compared to Content-Length
stored in metadata. Unlike files, for directories st_size is always
4096. Hence the comparison would always be '4096 == 0' which would
fail.

This patch makes the following changes:
* Do size comparison of st_size and Content-Length only for files.
* Get rid of _is_dir everywhere. This will simplify things.

Change-Id: Ib75e06c4e3bce36bab11ce7d029ff327f33c3146
Signed-off-by: Prashanth Pai &lt;ppai@redhat.com&gt;
Reviewed-on: http://review.gluster.org/14423
Reviewed-by: Thiago da Silva &lt;thiago@redhat.com&gt;
Tested-by: Thiago da Silva &lt;thiago@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
For marker directory objects, validate_object() always returned False.
This was because st_size from stat was being compared to Content-Length
stored in metadata. Unlike files, for directories st_size is always
4096. Hence the comparison would always be '4096 == 0' which would
fail.

This patch makes the following changes:
* Do size comparison of st_size and Content-Length only for files.
* Get rid of _is_dir everywhere. This will simplify things.

Change-Id: Ib75e06c4e3bce36bab11ce7d029ff327f33c3146
Signed-off-by: Prashanth Pai &lt;ppai@redhat.com&gt;
Reviewed-on: http://review.gluster.org/14423
Reviewed-by: Thiago da Silva &lt;thiago@redhat.com&gt;
Tested-by: Thiago da Silva &lt;thiago@redhat.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
