<feed xmlns='http://www.w3.org/2005/Atom'>
<title>gluster-block.git/daemon, branch v0.1</title>
<subtitle></subtitle>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/gluster-block.git/'/>
<entry>
<title>lockfile: don't allow multiple instances of daemon to run</title>
<updated>2017-02-21T10:26:52+00:00</updated>
<author>
<name>Prasanna Kumar Kalever</name>
<email>prasanna.kalever@redhat.com</email>
</author>
<published>2017-02-20T18:36:49+00:00</published>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/gluster-block.git/commit/?id=c1c22333819f744287fb78fb317ff70fa82beab8'/>
<id>c1c22333819f744287fb78fb317ff70fa82beab8</id>
<content type='text'>
until now there is no check to defend on multiple runs of daemon within
the same node. This patch takes a non blocking lock on 'gluster-blockd.lock'
file, if it succeeds only then daemon is allowed to run, if there is
already a lock on lock-file (taken by some other instance of gluster-blockd)
we will exit.

This patch also renames GB_UNIX_ADDRESS  from gluster-block.socket to
gluster-blockd.socket, as that makes better sense.

Change-Id: I43b285f9da15d078fe3df4d231d0ef8d44272d8f
Signed-off-by: Prasanna Kumar Kalever &lt;prasanna.kalever@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
until now there is no check to defend on multiple runs of daemon within
the same node. This patch takes a non blocking lock on 'gluster-blockd.lock'
file, if it succeeds only then daemon is allowed to run, if there is
already a lock on lock-file (taken by some other instance of gluster-blockd)
we will exit.

This patch also renames GB_UNIX_ADDRESS  from gluster-block.socket to
gluster-blockd.socket, as that makes better sense.

Change-Id: I43b285f9da15d078fe3df4d231d0ef8d44272d8f
Signed-off-by: Prasanna Kumar Kalever &lt;prasanna.kalever@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>gluster-block: refactor return values</title>
<updated>2017-02-19T09:10:51+00:00</updated>
<author>
<name>Prasanna Kumar Kalever</name>
<email>prasanna.kalever@redhat.com</email>
</author>
<published>2017-02-19T09:10:12+00:00</published>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/gluster-block.git/commit/?id=245ee93f275301ad7f277b37614a30853d9def36'/>
<id>245ee93f275301ad7f277b37614a30853d9def36</id>
<content type='text'>
Signed-off-by: Prasanna Kumar Kalever &lt;prasanna.kalever@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Prasanna Kumar Kalever &lt;prasanna.kalever@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>daemon: fix minor bugs</title>
<updated>2017-02-16T14:19:34+00:00</updated>
<author>
<name>Prasanna Kumar Kalever</name>
<email>prasanna.kalever@redhat.com</email>
</author>
<published>2017-02-15T18:00:15+00:00</published>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/gluster-block.git/commit/?id=f3132b97df6cb22d7fe6ba4d26e119200a3b70d6'/>
<id>f3132b97df6cb22d7fe6ba4d26e119200a3b70d6</id>
<content type='text'>
Reported-by: Pranith Kumar K &lt;pkarampu@redhat.com&gt;
Signed-off-by: Prasanna Kumar Kalever &lt;prasanna.kalever@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reported-by: Pranith Kumar K &lt;pkarampu@redhat.com&gt;
Signed-off-by: Prasanna Kumar Kalever &lt;prasanna.kalever@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>cli: cart off unwanted output from create command</title>
<updated>2017-02-15T10:55:02+00:00</updated>
<author>
<name>Prasanna Kumar Kalever</name>
<email>prasanna.kalever@redhat.com</email>
</author>
<published>2017-02-15T10:50:49+00:00</published>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/gluster-block.git/commit/?id=b361cc1ce3ef431d6aa53003b465ef323db7e3fc'/>
<id>b361cc1ce3ef431d6aa53003b465ef323db7e3fc</id>
<content type='text'>
The response of below sub-operations as part of create are undesired
$ targetcli set global auto_add_default_portal=false
$ targetcli / saveconfig
$ targetcli set attributes generate_node_acls=1 demo_mode_write_protect=0

Hence redirecting them to '/dev/null'

This patch also fix a bug in the previous patch
i.e. missed inverting [!] function return in if()

Signed-off-by: Prasanna Kumar Kalever &lt;prasanna.kalever@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The response of below sub-operations as part of create are undesired
$ targetcli set global auto_add_default_portal=false
$ targetcli / saveconfig
$ targetcli set attributes generate_node_acls=1 demo_mode_write_protect=0

Hence redirecting them to '/dev/null'

This patch also fix a bug in the previous patch
i.e. missed inverting [!] function return in if()

Signed-off-by: Prasanna Kumar Kalever &lt;prasanna.kalever@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>gluster-blockd: create logging directories</title>
<updated>2017-02-15T09:50:22+00:00</updated>
<author>
<name>Prasanna Kumar Kalever</name>
<email>prasanna.kalever@redhat.com</email>
</author>
<published>2017-02-15T09:50:22+00:00</published>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/gluster-block.git/commit/?id=86ae67f117bc2a8c385144065c01e63027248a50'/>
<id>86ae67f117bc2a8c385144065c01e63027248a50</id>
<content type='text'>
Signed-off-by: Prasanna Kumar Kalever &lt;prasanna.kalever@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Prasanna Kumar Kalever &lt;prasanna.kalever@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>daemon: redirect logs to logdir</title>
<updated>2017-02-14T08:09:33+00:00</updated>
<author>
<name>Prasanna Kumar Kalever</name>
<email>prasanna.kalever@redhat.com</email>
</author>
<published>2017-02-14T08:07:49+00:00</published>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/gluster-block.git/commit/?id=46d4dda33d4dbb2a62bd55c01acaf3f15f4c6ee5'/>
<id>46d4dda33d4dbb2a62bd55c01acaf3f15f4c6ee5</id>
<content type='text'>
replace fprintf calls with LOG()

Signed-off-by: Prasanna Kumar Kalever &lt;prasanna.kalever@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
replace fprintf calls with LOG()

Signed-off-by: Prasanna Kumar Kalever &lt;prasanna.kalever@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>cli: review fixes in gluster-block</title>
<updated>2017-02-11T15:22:21+00:00</updated>
<author>
<name>Prasanna Kumar Kalever</name>
<email>prasanna.kalever@redhat.com</email>
</author>
<published>2017-02-10T16:15:12+00:00</published>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/gluster-block.git/commit/?id=a6dc593444353d758d0929f33b87fcdd17e89ae3'/>
<id>a6dc593444353d758d0929f33b87fcdd17e89ae3</id>
<content type='text'>
Signed-off-by: Pranith Kumar K &lt;pkarampu@redhat.com&gt;
Reviewed-by: Prasanna Kumar Kalever &lt;prasanna.kalever@redhat.com&gt;
Signed-off-by: Prasanna Kumar Kalever &lt;prasanna.kalever@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Pranith Kumar K &lt;pkarampu@redhat.com&gt;
Reviewed-by: Prasanna Kumar Kalever &lt;prasanna.kalever@redhat.com&gt;
Signed-off-by: Prasanna Kumar Kalever &lt;prasanna.kalever@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>build: add uuid and pthread libraries to dependency list</title>
<updated>2017-02-07T11:52:58+00:00</updated>
<author>
<name>Prasanna Kumar Kalever</name>
<email>prasanna.kalever@redhat.com</email>
</author>
<published>2017-02-07T11:39:43+00:00</published>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/gluster-block.git/commit/?id=67fb77e759d6babaf5d8853b68241150bf10b6f7'/>
<id>67fb77e759d6babaf5d8853b68241150bf10b6f7</id>
<content type='text'>
Signed-off-by: Prasanna Kumar Kalever &lt;prasanna.kalever@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Prasanna Kumar Kalever &lt;prasanna.kalever@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>gluster-block: migrate build to libtoolz and create rpm</title>
<updated>2017-02-07T07:59:05+00:00</updated>
<author>
<name>Prasanna Kumar Kalever</name>
<email>prasanna.kalever@redhat.com</email>
</author>
<published>2017-02-05T14:53:20+00:00</published>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/gluster-block.git/commit/?id=23b12455796ec453ca35e94ab49e7629d7f9aced'/>
<id>23b12455796ec453ca35e94ab49e7629d7f9aced</id>
<content type='text'>
Till now we had simple makefile for checking dependencies and building.

Using libtoolz will give more control on dependency checks and
flexibility.

This patch also introduce rpm build feature.

Compiling:
$ ./autogen.sh
$ ./configure
$ make -j
$ make install

Building RPMS:
$ make rpms

Running:
$ systemctl start gluster-blockd.service

Using CLI:
$ gluster-block help

Signed-off-by: Prasanna Kumar Kalever &lt;prasanna.kalever@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Till now we had simple makefile for checking dependencies and building.

Using libtoolz will give more control on dependency checks and
flexibility.

This patch also introduce rpm build feature.

Compiling:
$ ./autogen.sh
$ ./configure
$ make -j
$ make install

Building RPMS:
$ make rpms

Running:
$ systemctl start gluster-blockd.service

Using CLI:
$ gluster-block help

Signed-off-by: Prasanna Kumar Kalever &lt;prasanna.kalever@redhat.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
