<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/liberasurecode.git/include/erasurecode/erasurecode_helpers.h, branch fixCompileError</title>
<subtitle>github.com: openstack/liberasurecode.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/liberasurecode.git/'/>
<entry>
<title>Split helpers.h include for backward compatibility</title>
<updated>2015-09-22T21:47:15+00:00</updated>
<author>
<name>Tushar Gohad</name>
<email>tushar.gohad@intel.com</email>
</author>
<published>2015-09-20T19:52:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/liberasurecode.git/commit/?id=398c48c95d532906e470f7b8559ac4d043717d20'/>
<id>398c48c95d532906e470f7b8559ac4d043717d20</id>
<content type='text'>
Users of liberasurecode &lt;= 1.0.7 used alloc/free helpers
(which they shouldn't have).  This change is to make sure
we are still able to those older revs of programs and they
work with newer liberasurecode.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Users of liberasurecode &lt;= 1.0.7 used alloc/free helpers
(which they shouldn't have).  This change is to make sure
we are still able to those older revs of programs and they
work with newer liberasurecode.
</pre>
</div>
</content>
</entry>
<entry>
<title>Move fragment_header defn to main erasurecode header</title>
<updated>2015-09-17T23:23:01+00:00</updated>
<author>
<name>Tushar Gohad</name>
<email>tushar.gohad@intel.com</email>
</author>
<published>2015-09-17T23:23:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/liberasurecode.git/commit/?id=5ac6ae9c12a6e4ca356d5e268b171d906e734e05'/>
<id>5ac6ae9c12a6e4ca356d5e268b171d906e734e05</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Rename frag_adder_size</title>
<updated>2015-03-05T05:01:10+00:00</updated>
<author>
<name>Kota Tsuyuzaki</name>
<email>bloodeagle40234@gmail.com</email>
</author>
<published>2015-03-05T04:43:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/liberasurecode.git/commit/?id=dd67555f8425ff5fa3cb9b807224ab5199614394'/>
<id>dd67555f8425ff5fa3cb9b807224ab5199614394</id>
<content type='text'>
This patch renames following variables and functions:

- frag_adder_size -&gt; frag_backend_metadata_size
- set_fragment_adder_size() -&gt; set_fragment_backend_metadata_size()
- get_fragment_adder_size() -&gt; get_fragment_backend_metadata_size()
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch renames following variables and functions:

- frag_adder_size -&gt; frag_backend_metadata_size
- set_fragment_adder_size() -&gt; set_fragment_backend_metadata_size()
- get_fragment_adder_size() -&gt; get_fragment_backend_metadata_size()
</pre>
</div>
</content>
</entry>
<entry>
<title>Enable to get fragment_len includes metadata_adder</title>
<updated>2015-02-27T12:54:50+00:00</updated>
<author>
<name>Kota Tsuyuzaki</name>
<email>bloodeagle40234@gmail.com</email>
</author>
<published>2015-02-06T05:54:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/liberasurecode.git/commit/?id=0addebdbf6ea54a6bfbf606175fbdd5fa8481806'/>
<id>0addebdbf6ea54a6bfbf606175fbdd5fa8481806</id>
<content type='text'>
This patch allows to get correct fragment size includes metadata_adder.

Current implementaion automatically allocates extra bytes for the metadata_adder
in alloc_buffer, and then, no information about the extra bytes will be returned
to the api caller side. It's too confusable because callers couldn't know how size they
assumes as the fragment size.

To be easy to find out the size infomation, this patch adds "frag_adder_size"
variable into fragment metadata and also some functions to get fragment size.

The definitions of these size infomation are here,

fragment_meta:
- size-&gt; raw data size used to encode/fragment_to_string
- frag_adder_size-&gt; metadata_adder of backend specification

And the definitions of functions are here,

- get_fragment_size:
  -&gt; return sizeof(fragument_header) + size + frag_adder_size

- get_fragment_buffer_size:
  -&gt; return size + frag_adder_size

- get_fragment_payload_size:
  -&gt; return size

By using these function above, users could get the size information
directly from fragments. It results in enabling to return fragment_len
to the caller side easily.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch allows to get correct fragment size includes metadata_adder.

Current implementaion automatically allocates extra bytes for the metadata_adder
in alloc_buffer, and then, no information about the extra bytes will be returned
to the api caller side. It's too confusable because callers couldn't know how size they
assumes as the fragment size.

To be easy to find out the size infomation, this patch adds "frag_adder_size"
variable into fragment metadata and also some functions to get fragment size.

The definitions of these size infomation are here,

fragment_meta:
- size-&gt; raw data size used to encode/fragment_to_string
- frag_adder_size-&gt; metadata_adder of backend specification

And the definitions of functions are here,

- get_fragment_size:
  -&gt; return sizeof(fragument_header) + size + frag_adder_size

- get_fragment_buffer_size:
  -&gt; return size + frag_adder_size

- get_fragment_payload_size:
  -&gt; return size

By using these function above, users could get the size information
directly from fragments. It results in enabling to return fragment_len
to the caller side easily.
</pre>
</div>
</content>
</entry>
<entry>
<title>Move backend metadata adding to fragment allocation</title>
<updated>2015-02-27T06:44:37+00:00</updated>
<author>
<name>Kota Tsuyuzaki</name>
<email>bloodeagle40234@gmail.com</email>
</author>
<published>2015-01-05T11:06:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/liberasurecode.git/commit/?id=72746d1c51cabfa0dcc101d98192c7a8262844ad'/>
<id>72746d1c51cabfa0dcc101d98192c7a8262844ad</id>
<content type='text'>
On the first consideration[1], metadata_adder is defined as a extra byte
size for "each" fragment. However, current implementation is an element
affects to data_len. (i.e. aligned_data_size for original segment data)

We should make metadata_adder to be a fixed value against to each fragment,
otherwise the extra bytes for the fragments will have flexible length depends
on "K". It will be quite complex for backend implementation to know "How large
bytes the raw data size is", "How large bytes the backend could use as extra
bytes for each fragment".

1: https://bitbucket.org/tsg-/liberasurecode/commits/032b57d9b1c7aadc547fccbacf88af786c9067e7?at=master
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
On the first consideration[1], metadata_adder is defined as a extra byte
size for "each" fragment. However, current implementation is an element
affects to data_len. (i.e. aligned_data_size for original segment data)

We should make metadata_adder to be a fixed value against to each fragment,
otherwise the extra bytes for the fragments will have flexible length depends
on "K". It will be quite complex for backend implementation to know "How large
bytes the raw data size is", "How large bytes the backend could use as extra
bytes for each fragment".

1: https://bitbucket.org/tsg-/liberasurecode/commits/032b57d9b1c7aadc547fccbacf88af786c9067e7?at=master
</pre>
</div>
</content>
</entry>
<entry>
<title>Ensure fragment pointers passed to cleanup</title>
<updated>2015-02-27T06:44:37+00:00</updated>
<author>
<name>Kota Tsuyuzaki</name>
<email>bloodeagle40234@gmail.com</email>
</author>
<published>2015-02-06T04:15:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/liberasurecode.git/commit/?id=57f5c565e64f8c33d3e299a8542de6d0f083b840'/>
<id>57f5c565e64f8c33d3e299a8542de6d0f083b840</id>
<content type='text'>
This patch achieves a couple of things as follows:

- Undoing the liberasurecode_encode_cleanup specification to
  expect "fragment" pointers as its arguments.

- Ensuring liberasurecode_encode to pass "fratment" pointers to
  liberasurecode_encode_cleanup.

liberasurecode_encode_cleanup is used also in pyeclib so that
it is expected that the argument pointers (i.e. encoded_data and
encoded_parity) should be the collection of the heads of "fragment"
pointers.

However, when the backend encode fails, liberasurecode keeps "data"
pointers behind of fragment_header, and then, goes to "out:" statement
to cleanup its memories. It causes invalid pointer failure.

This patch adds a translation function from "data" pointers to "fragment"
pointers and ensure liberasurecode_encode to pass correct pointers to
libersurecode_encode_cleanup.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch achieves a couple of things as follows:

- Undoing the liberasurecode_encode_cleanup specification to
  expect "fragment" pointers as its arguments.

- Ensuring liberasurecode_encode to pass "fratment" pointers to
  liberasurecode_encode_cleanup.

liberasurecode_encode_cleanup is used also in pyeclib so that
it is expected that the argument pointers (i.e. encoded_data and
encoded_parity) should be the collection of the heads of "fragment"
pointers.

However, when the backend encode fails, liberasurecode keeps "data"
pointers behind of fragment_header, and then, goes to "out:" statement
to cleanup its memories. It causes invalid pointer failure.

This patch adds a translation function from "data" pointers to "fragment"
pointers and ensure liberasurecode_encode to pass correct pointers to
libersurecode_encode_cleanup.
</pre>
</div>
</content>
</entry>
<entry>
<title>add fragment validation</title>
<updated>2014-11-09T16:52:11+00:00</updated>
<author>
<name>Eric Lambert</name>
<email>eric.lambert@seagate.com</email>
</author>
<published>2014-11-09T16:52:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/liberasurecode.git/commit/?id=1b1d18733f89d29d7b023da90a07897fd5ddd55c'/>
<id>1b1d18733f89d29d7b023da90a07897fd5ddd55c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>add backend_id and backend_version to fragment metadata</title>
<updated>2014-10-04T00:08:05+00:00</updated>
<author>
<name>Eric Lambert</name>
<email>eric.lambert@seagate.com</email>
</author>
<published>2014-10-04T00:08:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/liberasurecode.git/commit/?id=62fba6ba49ab216dbb19c7b7dcbd83804fe7f66e'/>
<id>62fba6ba49ab216dbb19c7b7dcbd83804fe7f66e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>libec version is now stored in fragment header</title>
<updated>2014-10-03T02:31:34+00:00</updated>
<author>
<name>Eric Lambert</name>
<email>eric.lambert@seagate.com</email>
</author>
<published>2014-10-03T02:31:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/liberasurecode.git/commit/?id=581afe3199dcf1171f750a96ef4d83512ea1ba66'/>
<id>581afe3199dcf1171f750a96ef4d83512ea1ba66</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>crc32 checksum now supported (prior to this commit checksum values were</title>
<updated>2014-09-25T20:23:06+00:00</updated>
<author>
<name>Eric Lambert</name>
<email>eric_lambert@xyratex.com</email>
</author>
<published>2014-09-25T20:23:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/liberasurecode.git/commit/?id=06bb20ca1c9c7800ca3633ca1447deab68a5f0a4'/>
<id>06bb20ca1c9c7800ca3633ca1447deab68a5f0a4</id>
<content type='text'>
not being placed into the fragment header).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
not being placed into the fragment header).
</pre>
</div>
</content>
</entry>
</feed>
