<feed xmlns='http://www.w3.org/2005/Atom'>
<title>gluster-block.git, branch v0.3</title>
<subtitle></subtitle>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/gluster-block.git/'/>
<entry>
<title>NEWS: update</title>
<updated>2017-10-13T20:02:55+00:00</updated>
<author>
<name>Prasanna Kumar Kalever</name>
<email>prasanna.kalever@redhat.com</email>
</author>
<published>2017-09-22T10:28:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/gluster-block.git/commit/?id=d459f06accbddbbcd95de74278548afc491855f8'/>
<id>d459f06accbddbbcd95de74278548afc491855f8</id>
<content type='text'>
Change-Id: I7b1b4ca913dd04b6578423e258d76f9062542b4d
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>
Change-Id: I7b1b4ca913dd04b6578423e258d76f9062542b4d
Signed-off-by: Prasanna Kumar Kalever &lt;prasanna.kalever@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>cli: defend on minimum block size</title>
<updated>2017-10-09T13:54:57+00:00</updated>
<author>
<name>Prasanna Kumar Kalever</name>
<email>prasanna.kalever@redhat.com</email>
</author>
<published>2017-07-11T11:45:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/gluster-block.git/commit/?id=258f30c6d7d6a9aead90ff6bac851dd0f9db8fff'/>
<id>258f30c6d7d6a9aead90ff6bac851dd0f9db8fff</id>
<content type='text'>
From,
$ targetcli /backstores/user:glfs/block get attribute
ATTRIBUTE CONFIG GROUP
======================
hw_block_size=512 [ro]
----------------------

Hence making the min acceptable size to be 1 sector/block i.e. 512 bytes

This patch also, explicitly mention in docs about bytes as default size units.

Change-Id: Iec8797082d02cc9ad51fc17e11f2ba3073aaeda0
Fixes: #35
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>
From,
$ targetcli /backstores/user:glfs/block get attribute
ATTRIBUTE CONFIG GROUP
======================
hw_block_size=512 [ro]
----------------------

Hence making the min acceptable size to be 1 sector/block i.e. 512 bytes

This patch also, explicitly mention in docs about bytes as default size units.

Change-Id: Iec8797082d02cc9ad51fc17e11f2ba3073aaeda0
Fixes: #35
Signed-off-by: Prasanna Kumar Kalever &lt;prasanna.kalever@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>delete/rollback: check for matching gbid before deleting a block</title>
<updated>2017-10-09T05:43:20+00:00</updated>
<author>
<name>Prasanna Kumar Kalever</name>
<email>prasanna.kalever@redhat.com</email>
</author>
<published>2017-08-03T09:05:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/gluster-block.git/commit/?id=e6ed5b53cf33b4315ee2846a9f773cd672a5de8c'/>
<id>e6ed5b53cf33b4315ee2846a9f773cd672a5de8c</id>
<content type='text'>
Currently we are just checking for blockname in targetcli list output, if it
exist we will delete the backend.

We do not check if block belongs to a given volume (say vol1), because of which
a rollback on a failure to create block with same name, on same node but on a
different volume (say vol2) deletes block backend belonging to vol1.

Solution:
only if blockname + gbid matches continue delete.

Change-Id: I396c228dad3cf4f51cc6676a266b837bdf6040c7
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>
Currently we are just checking for blockname in targetcli list output, if it
exist we will delete the backend.

We do not check if block belongs to a given volume (say vol1), because of which
a rollback on a failure to create block with same name, on same node but on a
different volume (say vol2) deletes block backend belonging to vol1.

Solution:
only if blockname + gbid matches continue delete.

Change-Id: I396c228dad3cf4f51cc6676a266b837bdf6040c7
Signed-off-by: Prasanna Kumar Kalever &lt;prasanna.kalever@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>spec: fix unclosed %if block</title>
<updated>2017-09-25T09:12:27+00:00</updated>
<author>
<name>Prasanna Kumar Kalever</name>
<email>prasanna.kalever@redhat.com</email>
</author>
<published>2017-09-25T09:11:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/gluster-block.git/commit/?id=59572e84b1dd4d5c3374f34537e506b831729f58'/>
<id>59572e84b1dd4d5c3374f34537e506b831729f58</id>
<content type='text'>
Change-Id: Iab80dd7fea69eb28630ed563fda4db72ceeaadbe
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>
Change-Id: Iab80dd7fea69eb28630ed563fda4db72ceeaadbe
Signed-off-by: Prasanna Kumar Kalever &lt;prasanna.kalever@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>rpm: include suggested changes from Fedora package review</title>
<updated>2017-09-22T09:56:35+00:00</updated>
<author>
<name>Niels de Vos</name>
<email>ndevos@redhat.com</email>
</author>
<published>2017-09-21T09:31:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/gluster-block.git/commit/?id=e364da11481eead41395231ed14a6e056d9eeb91'/>
<id>e364da11481eead41395231ed14a6e056d9eeb91</id>
<content type='text'>
gluster-block has been packaged for Fedora and reviewing the .spec
showed some areas where improvements could be done. The following
changes are part of the Fedora package, so it would be good to include
them here as well:

- added systemd macros in the scriptlets
- use pkgconfig for BuildRequires
- run setup in quiet mode
- run make_* macros instead of make commands in build/install section
- drop the INSTALL file from the documentation

Change-Id: Ic0d28eb900aabd2199b6a021db3790ec023cdf25
URL: https://src.fedoraproject.org/rpms/gluster-block
BUG: https://bugzilla.redhat.com/1467677
Signed-off-by: Niels de Vos &lt;ndevos@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
gluster-block has been packaged for Fedora and reviewing the .spec
showed some areas where improvements could be done. The following
changes are part of the Fedora package, so it would be good to include
them here as well:

- added systemd macros in the scriptlets
- use pkgconfig for BuildRequires
- run setup in quiet mode
- run make_* macros instead of make commands in build/install section
- drop the INSTALL file from the documentation

Change-Id: Ic0d28eb900aabd2199b6a021db3790ec023cdf25
URL: https://src.fedoraproject.org/rpms/gluster-block
BUG: https://bugzilla.redhat.com/1467677
Signed-off-by: Niels de Vos &lt;ndevos@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>dist: supports initd for non-systemd distros</title>
<updated>2017-09-21T10:30:27+00:00</updated>
<author>
<name>Ji-Hyeon Gim</name>
<email>potatogim@gluesys.com</email>
</author>
<published>2017-09-09T04:35:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/gluster-block.git/commit/?id=feb517ae133fd4af0dc35725070e80522ea43539'/>
<id>feb517ae133fd4af0dc35725070e80522ea43539</id>
<content type='text'>
Problem
    gluster-blockd supports systemd officially but many legacy distros
    want to use initd

Resolve
    includes initd scripts for non-systemd distros

Change-Id: I8495e8d9abbef6d26ac7dc8dbbe6d07e7713f537
Signed-off-by: Ji-Hyeon Gim &lt;potatogim@gluesys.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem
    gluster-blockd supports systemd officially but many legacy distros
    want to use initd

Resolve
    includes initd scripts for non-systemd distros

Change-Id: I8495e8d9abbef6d26ac7dc8dbbe6d07e7713f537
Signed-off-by: Ji-Hyeon Gim &lt;potatogim@gluesys.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>configure: make sysconfig directory configurable</title>
<updated>2017-09-20T15:51:54+00:00</updated>
<author>
<name>Michael Adam</name>
<email>obnox@redhat.com</email>
</author>
<published>2017-08-10T21:41:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/gluster-block.git/commit/?id=95db5c36b38fa883141cb3eeb237957d18091168'/>
<id>95db5c36b38fa883141cb3eeb237957d18091168</id>
<content type='text'>
This is currently hard-coded to /etc/sysconfig, which
makes it impossible to entirely install under a prefix.
This patch introduces a new switch --with-sysconfigdir
defaulting to /etc/sysconfig, which lets one reconfiure
the sysconfig directory.

Change-Id: I316f8355c3ddcfece3322f30a45108bdc636637d
Signed-off-by: Michael Adam &lt;obnox@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is currently hard-coded to /etc/sysconfig, which
makes it impossible to entirely install under a prefix.
This patch introduces a new switch --with-sysconfigdir
defaulting to /etc/sysconfig, which lets one reconfiure
the sysconfig directory.

Change-Id: I316f8355c3ddcfece3322f30a45108bdc636637d
Signed-off-by: Michael Adam &lt;obnox@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>build: do not require 'git' to find the version</title>
<updated>2017-09-19T12:15:30+00:00</updated>
<author>
<name>Niels de Vos</name>
<email>ndevos@redhat.com</email>
</author>
<published>2017-06-30T11:24:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/gluster-block.git/commit/?id=e5c78e1a42fc7988cdbadb52208655d46f41d314'/>
<id>e5c78e1a42fc7988cdbadb52208655d46f41d314</id>
<content type='text'>
While looking into packaging gluster-block for Fedora, I noticed that
'git' is used to determine the version. The downloads from GitHub are
not archives that have been created with 'make dist', and hence
./autogen.sh is still needed to be run.

./autogen.sh generates all the needed bits, including the ./configure
script that tries to figure out the version. If ./configure runs in a
non-git directory, no version can be found.

In order to solve this, I'm adding a VERSION file in the root of the
project. If this file exists, it is used to fetch the version, instead
of trying to run git. The basic usage for RPM packaging in distributions
can then be:

  echo %{version} &gt; VERSION
  ./autogen.sh
  %configure

Note that the VERSION file is not needed for building from a git
repository. However, this file can get packaged in the 'make dist'
tarball so that building from the tarball does not require git.

Change-Id: Ied378c7071ee4a108a1e946dccbb7f223b7aeb9f
Updates: #25
Signed-off-by: Niels de Vos &lt;ndevos@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
While looking into packaging gluster-block for Fedora, I noticed that
'git' is used to determine the version. The downloads from GitHub are
not archives that have been created with 'make dist', and hence
./autogen.sh is still needed to be run.

./autogen.sh generates all the needed bits, including the ./configure
script that tries to figure out the version. If ./configure runs in a
non-git directory, no version can be found.

In order to solve this, I'm adding a VERSION file in the root of the
project. If this file exists, it is used to fetch the version, instead
of trying to run git. The basic usage for RPM packaging in distributions
can then be:

  echo %{version} &gt; VERSION
  ./autogen.sh
  %configure

Note that the VERSION file is not needed for building from a git
repository. However, this file can get packaged in the 'make dist'
tarball so that building from the tarball does not require git.

Change-Id: Ied378c7071ee4a108a1e946dccbb7f223b7aeb9f
Updates: #25
Signed-off-by: Niels de Vos &lt;ndevos@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>daemon: set configshell file loglevel to info</title>
<updated>2017-09-19T11:34:47+00:00</updated>
<author>
<name>Prasanna Kumar Kalever</name>
<email>prasanna.kalever@redhat.com</email>
</author>
<published>2017-09-19T11:31:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/gluster-block.git/commit/?id=ffebf6c2c5ba0e369204d99a41cb250cacd8b591'/>
<id>ffebf6c2c5ba0e369204d99a41cb250cacd8b591</id>
<content type='text'>
Change-Id: I64fa708bacff138423a490853e7c50c046a0ad28
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>
Change-Id: I64fa708bacff138423a490853e7c50c046a0ad28
Signed-off-by: Prasanna Kumar Kalever &lt;prasanna.kalever@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>socket: switch to MT-safe get host addr info</title>
<updated>2017-09-19T05:50:32+00:00</updated>
<author>
<name>Prasanna Kumar Kalever</name>
<email>prasanna.kalever@redhat.com</email>
</author>
<published>2017-09-19T03:13:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/gluster-block.git/commit/?id=149c72ca069fd5c1fb8960607d7443536995d235'/>
<id>149c72ca069fd5c1fb8960607d7443536995d235</id>
<content type='text'>
This was fixed in an attempt to clean the sockfd leaks

Change-Id: Icd82635134050c83167a48b451b347f5c2b9bf39
Signed-off-by: Prasanna Kumar Kalever &lt;prasanna.kalever@redhat.com&gt;
Signed-off-by: Pranith Kumar K &lt;pkarampu@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This was fixed in an attempt to clean the sockfd leaks

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