<feed xmlns='http://www.w3.org/2005/Atom'>
<title>squashfs-tools-ng.git/lib/sqfs/block_processor, branch v0.9.1</title>
<subtitle>A new set of tools and libraries for working with SquashFS images</subtitle>
<id>https://git.infraroot.at/squashfs-tools-ng.git/atom?h=v0.9.1</id>
<link rel='self' href='https://git.infraroot.at/squashfs-tools-ng.git/atom?h=v0.9.1'/>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/'/>
<updated>2020-03-19T01:04:28+00:00</updated>
<entry>
<title>Fix pthread_join check for valid thread handles</title>
<updated>2020-03-19T01:04:28+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2020-03-19T00:58:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=df24b3a070cc50e521b21fc2877e5b3985535a73'/>
<id>urn:sha1:df24b3a070cc50e521b21fc2877e5b3985535a73</id>
<content type='text'>
On Linux, checking for &gt; 0 worked because pthread_t is internally an
integer type. On other platforms (*caugh* Mac OS X *caugh*), it is
typedefed to an opaque pointer, causing a warning if used in an
integer relational comparison.

The intended use is to allow the generic cleanup function to be used
in the error path of the block processor creation function, while
preventing pthread_join being called on threads that haven't been
created at all. Since they are calloc'ed to 0, testing for non-zero
values should suffice in both cases.

Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>Cleanup: Move xxhash32 code to libutil</title>
<updated>2020-03-18T12:33:47+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2020-03-18T12:19:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=7c29dc8db20a3e6f1fb351c44a068171bb6c1ff1'/>
<id>urn:sha1:7c29dc8db20a3e6f1fb351c44a068171bb6c1ff1</id>
<content type='text'>
Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>Add a generic copying mechanism to sqfs_object_t</title>
<updated>2020-03-03T23:58:53+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2020-03-03T18:43:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=44c81eeffe9c8820b1009a7a5c728782aa5ebf40'/>
<id>urn:sha1:44c81eeffe9c8820b1009a7a5c728782aa5ebf40</id>
<content type='text'>
This patch adds a deep-copy callback to sqfs_object_t and removes the
copying mechanism from sqfs_compressor_t. This is also interesting for
other types.

Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>Add a "do not deduplicate" block flag</title>
<updated>2020-03-01T21:34:45+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2020-03-01T21:34:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=37485168b9a9ab870f5d8bf01da8cccb325f6de4'/>
<id>urn:sha1:37485168b9a9ab870f5d8bf01da8cccb325f6de4</id>
<content type='text'>
Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>Turn file inode management completely over to the block processor</title>
<updated>2020-02-23T14:38:48+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2020-02-23T14:26:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=c2a093c9e9fb4889a11982797d75b8608c26da8f'/>
<id>urn:sha1:c2a093c9e9fb4889a11982797d75b8608c26da8f</id>
<content type='text'>
If the block processor allocates and dynamically resizes inodes on
the fly, we can add data indefinitely without knowing the size of
the file ahead of time.

Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>Unify the payload counters in the sqfs_inode_generic_t</title>
<updated>2020-02-23T03:02:49+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2020-02-23T02:44:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=c924d87a4cbbeb93825f34f997add1ca4573a368'/>
<id>urn:sha1:c924d87a4cbbeb93825f34f997add1ca4573a368</id>
<content type='text'>
Instead of having seperate counters for blocks, dir index bytes
and having to fiddle out the link target size, simply use a single
value that stores the number of payload bytes used.

A seperate "payload bytes available" is used for dynamically
growing inodes during processing.

Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>Move inode size accounting completely to the block processor</title>
<updated>2020-02-22T22:37:18+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2020-02-22T22:37:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=aecc6dc5a9971eb4f1309f0754b0f213347c4d11'/>
<id>urn:sha1:aecc6dc5a9971eb4f1309f0754b0f213347c4d11</id>
<content type='text'>
Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>Cleanup block processor: merge common initialization code</title>
<updated>2020-02-22T17:08:23+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2020-02-22T17:08:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=f1468f6da2dab9c1449f9f5e500159bcf733045e'/>
<id>urn:sha1:f1468f6da2dab9c1449f9f5e500159bcf733045e</id>
<content type='text'>
Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>Cleanup block processor: Merge destructors for Windows &amp; pthreads</title>
<updated>2020-02-22T16:59:46+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2020-02-22T16:59:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=d6de8d8f32755b6ef0f887b317e7f5db026b48b8'/>
<id>urn:sha1:d6de8d8f32755b6ef0f887b317e7f5db026b48b8</id>
<content type='text'>
Since the merged destructor checks if the objects it destroys were
actually initialized, the pthread implementation can also replace
its error path cleanup with simply calling the destructor.

Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>Add a seperate sqfs_block_processor_sync function</title>
<updated>2020-02-22T15:04:15+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2020-02-22T15:04:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=3d444455ee62eedc91b2eeeddb01d39ec0bcfecb'/>
<id>urn:sha1:3d444455ee62eedc91b2eeeddb01d39ec0bcfecb</id>
<content type='text'>
This function waits for all pending blocks to be written to disk, but
doesn't flush the fragment block, so processing can continue afterwards
as if nothing happened.

Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
</feed>
