<feed xmlns='http://www.w3.org/2005/Atom'>
<title>glusterfs-snapshot.git/rpc, branch development</title>
<subtitle></subtitle>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/glusterfs-snapshot.git/'/>
<entry>
<title>glusterd/snapshot: Addressed upstream review comments</title>
<updated>2014-04-07T07:51:03+00:00</updated>
<author>
<name>Rajesh Joseph</name>
<email>rjoseph@redhat.com</email>
</author>
<published>2014-04-03T16:00:06+00:00</published>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/glusterfs-snapshot.git/commit/?id=dc646153c1a9733b44c78550e4b28ec0c9898b4f'/>
<id>dc646153c1a9733b44c78550e4b28ec0c9898b4f</id>
<content type='text'>
Code cleanup and review comments fixed.

Change-Id: Ie51e3a2f995295632cb1db05bab8b38603ab9a0a
Signed-off-by: Rajesh Joseph &lt;rjoseph@redhat.com&gt;
Reviewed-on: http://review.gluster.org/7399
Reviewed-by: Vijaikumar Mallikarjuna &lt;vmallika@redhat.com&gt;
Reviewed-by: Avra Sengupta &lt;asengupt@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Code cleanup and review comments fixed.

Change-Id: Ie51e3a2f995295632cb1db05bab8b38603ab9a0a
Signed-off-by: Rajesh Joseph &lt;rjoseph@redhat.com&gt;
Reviewed-on: http://review.gluster.org/7399
Reviewed-by: Vijaikumar Mallikarjuna &lt;vmallika@redhat.com&gt;
Reviewed-by: Avra Sengupta &lt;asengupt@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>snapshot/config : snapshot config changes.</title>
<updated>2014-03-25T13:37:12+00:00</updated>
<author>
<name>Sachin Pandit</name>
<email>spandit@redhat.com</email>
</author>
<published>2014-03-17T01:52:03+00:00</published>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/glusterfs-snapshot.git/commit/?id=c36c95a79c2f73f35727c6f8cba0586714663fd9'/>
<id>c36c95a79c2f73f35727c6f8cba0586714663fd9</id>
<content type='text'>
Syntax :
        gluster snapshot config [volname] [snap-max-hard-limit &lt;value&gt;]
                                          [snap-max-soft-limit &lt;value&gt;]

        1)If volume name is not specified, then the value is set system wide.
        2)If volume name is specified, then the value is set to that particular volume.

        *NOTE : snap-max-soft-limit cannot be specified to individual volumes.

case 1) When system limit is greater than volume limit.
Sample output :

        Snapshot System Configuration:
        snap-max-hard-limit : 200
        snap-max-soft-limit : 50%

        Snapshot Volume Configuration:

        Volume : vol2
        snap-max-hard-limit : 100
        Effective snap-max-hard-limit : 100
        Effective snap-max-soft-limit : 50 (50%)

        Volume : vol1
        snap-max-hard-limit : 150
        Effective snap-max-hard-limit : 150
        Effective snap-max-soft-limit : 75 (50%)

case 2) When system limit is lesser than volume limit.
Sample output :

        Snapshot System Configuration:
        snap-max-hard-limit : 50
        snap-max-soft-limit : 50%

        Snapshot Volume Configuration:

        Volume : vol2
        snap-max-hard-limit : 100
        Effective snap-max-hard-limit : 50
        Effective snap-max-soft-limit : 25 (50%)

        Volume : vol1
        snap-max-hard-limit : 150
        Effective snap-max-hard-limit : 50
        Effective snap-max-soft-limit : 25 (50%)

Change-Id: I97b5daefec7205bb9ab7b5b51d38f504cc5ee940
BUG: 1075034
Signed-off-by: Sachin Pandit &lt;spandit@redhat.com&gt;
Reviewed-on: http://review.gluster.org/7303
Reviewed-by: Rajesh Joseph &lt;rjoseph@redhat.com&gt;
Tested-by: Rajesh Joseph &lt;rjoseph@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Syntax :
        gluster snapshot config [volname] [snap-max-hard-limit &lt;value&gt;]
                                          [snap-max-soft-limit &lt;value&gt;]

        1)If volume name is not specified, then the value is set system wide.
        2)If volume name is specified, then the value is set to that particular volume.

        *NOTE : snap-max-soft-limit cannot be specified to individual volumes.

case 1) When system limit is greater than volume limit.
Sample output :

        Snapshot System Configuration:
        snap-max-hard-limit : 200
        snap-max-soft-limit : 50%

        Snapshot Volume Configuration:

        Volume : vol2
        snap-max-hard-limit : 100
        Effective snap-max-hard-limit : 100
        Effective snap-max-soft-limit : 50 (50%)

        Volume : vol1
        snap-max-hard-limit : 150
        Effective snap-max-hard-limit : 150
        Effective snap-max-soft-limit : 75 (50%)

case 2) When system limit is lesser than volume limit.
Sample output :

        Snapshot System Configuration:
        snap-max-hard-limit : 50
        snap-max-soft-limit : 50%

        Snapshot Volume Configuration:

        Volume : vol2
        snap-max-hard-limit : 100
        Effective snap-max-hard-limit : 50
        Effective snap-max-soft-limit : 25 (50%)

        Volume : vol1
        snap-max-hard-limit : 150
        Effective snap-max-hard-limit : 50
        Effective snap-max-soft-limit : 25 (50%)

Change-Id: I97b5daefec7205bb9ab7b5b51d38f504cc5ee940
BUG: 1075034
Signed-off-by: Sachin Pandit &lt;spandit@redhat.com&gt;
Reviewed-on: http://review.gluster.org/7303
Reviewed-by: Rajesh Joseph &lt;rjoseph@redhat.com&gt;
Tested-by: Rajesh Joseph &lt;rjoseph@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>mgmt/glusterd: do cleanup of snapshots in post-validate phase if half baked</title>
<updated>2014-03-24T14:45:09+00:00</updated>
<author>
<name>Raghavendra Bhat</name>
<email>raghavendra@redhat.com</email>
</author>
<published>2014-03-20T09:16:02+00:00</published>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/glusterfs-snapshot.git/commit/?id=123db32a53f7e2f99c0d63b368ed8a8ee6b41f62'/>
<id>123db32a53f7e2f99c0d63b368ed8a8ee6b41f62</id>
<content type='text'>
               objects are there

Change-Id: I372cac98ad054cdc1a6fbc7f6c77c25981063b2f
Signed-off-by: Raghavendra Bhat &lt;raghavendra@redhat.com&gt;
Reviewed-on: http://review.gluster.org/7237
Reviewed-by: Rajesh Joseph &lt;rjoseph@redhat.com&gt;
Tested-by: Rajesh Joseph &lt;rjoseph@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
               objects are there

Change-Id: I372cac98ad054cdc1a6fbc7f6c77c25981063b2f
Signed-off-by: Raghavendra Bhat &lt;raghavendra@redhat.com&gt;
Reviewed-on: http://review.gluster.org/7237
Reviewed-by: Rajesh Joseph &lt;rjoseph@redhat.com&gt;
Tested-by: Rajesh Joseph &lt;rjoseph@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>feature/snapshot : Snapshot status.</title>
<updated>2014-03-13T09:54:13+00:00</updated>
<author>
<name>Sachin Pandit</name>
<email>spandit@redhat.com</email>
</author>
<published>2014-03-06T05:39:58+00:00</published>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/glusterfs-snapshot.git/commit/?id=b458f7b40b19727258fa3268cc8d1147f630fe26'/>
<id>b458f7b40b19727258fa3268cc8d1147f630fe26</id>
<content type='text'>
Snapshot status command is used to display the status of
available snapshot.

The status command will display the Brick path, Volume Group,
Brick pid, Whether brick is online, Percentage of data filled,
Logical Volume size.

The syntax for using snapshot status is :

        gluster snapshot status [(snapname | volume &lt;volname&gt;)]

Change-Id: I621911c305e20ca83d958ff1f8762bef1f2f12f0
Signed-off-by: Sachin Pandit &lt;spandit@redhat.com&gt;
Reviewed-on: http://review.gluster.org/7134
Reviewed-by: Vijaikumar Mallikarjuna &lt;vmallika@redhat.com&gt;
Reviewed-by: Rajesh Joseph &lt;rjoseph@redhat.com&gt;
Tested-by: Rajesh Joseph &lt;rjoseph@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Snapshot status command is used to display the status of
available snapshot.

The status command will display the Brick path, Volume Group,
Brick pid, Whether brick is online, Percentage of data filled,
Logical Volume size.

The syntax for using snapshot status is :

        gluster snapshot status [(snapname | volume &lt;volname&gt;)]

Change-Id: I621911c305e20ca83d958ff1f8762bef1f2f12f0
Signed-off-by: Sachin Pandit &lt;spandit@redhat.com&gt;
Reviewed-on: http://review.gluster.org/7134
Reviewed-by: Vijaikumar Mallikarjuna &lt;vmallika@redhat.com&gt;
Reviewed-by: Rajesh Joseph &lt;rjoseph@redhat.com&gt;
Tested-by: Rajesh Joseph &lt;rjoseph@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>glusterd/snapshot : Introduced a macro for snapshot info command.</title>
<updated>2014-03-10T13:21:06+00:00</updated>
<author>
<name>Sachin Pandit</name>
<email>spandit@redhat.com</email>
</author>
<published>2014-03-06T23:46:02+00:00</published>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/glusterfs-snapshot.git/commit/?id=9fe1f24e42fa54b58616cd846fce76ab60d7e4e8'/>
<id>9fe1f24e42fa54b58616cd846fce76ab60d7e4e8</id>
<content type='text'>
Also populated the error message in case of snapshot create, list, info and delete failure.

When snapshot list, info or delete is issued, if the entered snapname/volname does not exist then populate error string along with logging.

Change-Id: I632d25110bc63ff0e4ac98b27e2f410f7ccbb990
Signed-off-by: Sachin Pandit &lt;spandit@redhat.com&gt;
Reviewed-on: http://review.gluster.org/7203
Reviewed-by: Vijaikumar Mallikarjuna &lt;vmallika@redhat.com&gt;
Reviewed-by: Rajesh Joseph &lt;rjoseph@redhat.com&gt;
Tested-by: Rajesh Joseph &lt;rjoseph@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also populated the error message in case of snapshot create, list, info and delete failure.

When snapshot list, info or delete is issued, if the entered snapname/volname does not exist then populate error string along with logging.

Change-Id: I632d25110bc63ff0e4ac98b27e2f410f7ccbb990
Signed-off-by: Sachin Pandit &lt;spandit@redhat.com&gt;
Reviewed-on: http://review.gluster.org/7203
Reviewed-by: Vijaikumar Mallikarjuna &lt;vmallika@redhat.com&gt;
Reviewed-by: Rajesh Joseph &lt;rjoseph@redhat.com&gt;
Tested-by: Rajesh Joseph &lt;rjoseph@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>glusterd/mgmt_v3 locks: Generalization of the volume wide locks.</title>
<updated>2014-03-07T12:29:33+00:00</updated>
<author>
<name>Avra Sengupta</name>
<email>asengupt@redhat.com</email>
</author>
<published>2014-03-01T03:34:16+00:00</published>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/glusterfs-snapshot.git/commit/?id=44428343529bec83fab0e3519396471fc8f651b4'/>
<id>44428343529bec83fab0e3519396471fc8f651b4</id>
<content type='text'>
Renaming volume locks as mgmt_v3 locks

Change-Id: I2a324e2b8e1772d7b165fe96ce8ba5b902c2ed9a
Signed-off-by: Avra Sengupta &lt;asengupt@redhat.com&gt;
Reviewed-on: http://review.gluster.org/7187
Reviewed-by: Rajesh Joseph &lt;rjoseph@redhat.com&gt;
Tested-by: Rajesh Joseph &lt;rjoseph@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Renaming volume locks as mgmt_v3 locks

Change-Id: I2a324e2b8e1772d7b165fe96ce8ba5b902c2ed9a
Signed-off-by: Avra Sengupta &lt;asengupt@redhat.com&gt;
Reviewed-on: http://review.gluster.org/7187
Reviewed-by: Rajesh Joseph &lt;rjoseph@redhat.com&gt;
Tested-by: Rajesh Joseph &lt;rjoseph@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>CLI/snapshot : Snapshot info CLI changes</title>
<updated>2014-03-05T09:54:43+00:00</updated>
<author>
<name>Sachin Pandit</name>
<email>spandit@redhat.com</email>
</author>
<published>2014-02-12T22:11:28+00:00</published>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/glusterfs-snapshot.git/commit/?id=cffe1de37453f81992047408e4c4ce5e35e21434'/>
<id>cffe1de37453f81992047408e4c4ce5e35e21434</id>
<content type='text'>
snapshot info [(snapname | volume &lt;volname&gt;)].

Snapshot info will list all the basic information.

Syntax :
        ** gluster snapshot info  **

        This will list all the snap object along with that
        it also prints the snaps volume name, UUID and
        status.

        ** gluster snapshot info &lt;snap-name&gt; **

        This will list only the mentioned snap object and
        also snap volume information along with that

        ** gluster snapshot info volume &lt;volname&gt; **

        This will list all the snaps present in the
        mentioned volume.

Change-Id: I1e92774cb08eaebbfe141b9b47d1a887d76916a4
Signed-off-by: Sachin Pandit &lt;spandit@redhat.com&gt;
Reviewed-on: http://review.gluster.org/6996
Reviewed-by: Rajesh Joseph &lt;rjoseph@redhat.com&gt;
Tested-by: Rajesh Joseph &lt;rjoseph@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
snapshot info [(snapname | volume &lt;volname&gt;)].

Snapshot info will list all the basic information.

Syntax :
        ** gluster snapshot info  **

        This will list all the snap object along with that
        it also prints the snaps volume name, UUID and
        status.

        ** gluster snapshot info &lt;snap-name&gt; **

        This will list only the mentioned snap object and
        also snap volume information along with that

        ** gluster snapshot info volume &lt;volname&gt; **

        This will list all the snaps present in the
        mentioned volume.

Change-Id: I1e92774cb08eaebbfe141b9b47d1a887d76916a4
Signed-off-by: Sachin Pandit &lt;spandit@redhat.com&gt;
Reviewed-on: http://review.gluster.org/6996
Reviewed-by: Rajesh Joseph &lt;rjoseph@redhat.com&gt;
Tested-by: Rajesh Joseph &lt;rjoseph@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>protocol/server: copy the response into the payload instead of using the pointer</title>
<updated>2014-01-13T04:53:39+00:00</updated>
<author>
<name>Raghavendra Bhat</name>
<email>raghavendra@redhat.com</email>
</author>
<published>2014-01-09T14:52:58+00:00</published>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/glusterfs-snapshot.git/commit/?id=bae3b86cc44adb43fb70f674da1d9e31c60bba96'/>
<id>bae3b86cc44adb43fb70f674da1d9e31c60bba96</id>
<content type='text'>
The response structure filled up in server_submit_reply is local to the
function (i.e stack allocated) whose address is stored in the barrier
payload to use later while sending the replies. But after the function
is exited (server_submit_reply) the pointer is not valid and contains
invalid data, which either leads in a segfault due to illegal memory
access or reply not being sent as the total length of the reply obtained
from that memory might not be valid.

So instead of saving the pointer inside the payload, save the complete
reply itself.

Change-Id: I7d0b7b181584865199357a67165b99bf35def5ab
Signed-off-by: Raghavendra Bhat &lt;raghavendra@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The response structure filled up in server_submit_reply is local to the
function (i.e stack allocated) whose address is stored in the barrier
payload to use later while sending the replies. But after the function
is exited (server_submit_reply) the pointer is not valid and contains
invalid data, which either leads in a segfault due to illegal memory
access or reply not being sent as the total length of the reply obtained
from that memory might not be valid.

So instead of saving the pointer inside the payload, save the complete
reply itself.

Change-Id: I7d0b7b181584865199357a67165b99bf35def5ab
Signed-off-by: Raghavendra Bhat &lt;raghavendra@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>glusterd/snapshot: Introducing snap-max-hard-limit and snap-max-soft-limit</title>
<updated>2014-01-06T10:29:43+00:00</updated>
<author>
<name>Avra Sengupta</name>
<email>asengupt@redhat.com</email>
</author>
<published>2013-12-16T03:09:58+00:00</published>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/glusterfs-snapshot.git/commit/?id=5d57885a1b63ba89406c0dbd02bb254eacf531bd'/>
<id>5d57885a1b63ba89406c0dbd02bb254eacf531bd</id>
<content type='text'>
Note: Manually adding this patch again as this patch got missed in
      git reset option done on remote development branch

Change-Id: I9e81c5ec003c1e1722d0fcb27dd87c365ee43ff4
Signed-off-by: Avra Sengupta &lt;asengupt@redhat.com&gt;
Signed-off-by: Rajesh Joseph &lt;rjoseph@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Note: Manually adding this patch again as this patch got missed in
      git reset option done on remote development branch

Change-Id: I9e81c5ec003c1e1722d0fcb27dd87c365ee43ff4
Signed-off-by: Avra Sengupta &lt;asengupt@redhat.com&gt;
Signed-off-by: Rajesh Joseph &lt;rjoseph@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>snapshot: Merge conflict resolution</title>
<updated>2013-11-15T09:23:44+00:00</updated>
<author>
<name>shishir gowda</name>
<email>sgowda@redhat.com</email>
</author>
<published>2013-11-15T09:23:44+00:00</published>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/glusterfs-snapshot.git/commit/?id=f0503527548a13cd1af2db640488b4c01857fc4d'/>
<id>f0503527548a13cd1af2db640488b4c01857fc4d</id>
<content type='text'>
Signed-off-by: shishir gowda &lt;sgowda@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: shishir gowda &lt;sgowda@redhat.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
