Skip to content

Commit 55d5712

Browse files
miabmwiedemann
mia
authored andcommitted
Update dwarfs to version 0.12.1 / rev 2 via SR 1269054
https://build.opensuse.org/request/show/1269054 by user mia + anag_factory - Update to version 0.12.1: Features * Added --memory-limit=auto to mkdwarfs to use a more reasonable (hopefully) default for the block queue. The old default of 1 GiB was quite arbitrary and definitely not suitable for low-end systems. The new auto default will determine the limit based on the number of workers (which in turn is based on the number of CPUs), the block size, and the amount of physical memory of the system. * Replaced vector_byte_buffer with malloc_byte_buffer, which is internally based around a simple buffer that doesn't incur the cost of initializing each element like std::vector. Especially for large blocks which are known to be overwritten immediately, this can save a few CPU cycles. - Changes in version 0.12.0: * New Licens
1 parent c8e4d0c commit 55d5712

File tree

6 files changed

+89
-3
lines changed

6 files changed

+89
-3
lines changed

packages/d/dwarfs/.files

0 Bytes
Binary file not shown.

packages/d/dwarfs/.rev

+37
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,41 @@
77
<comment>FUSE file system; typically better performance and compression ratio than e.g. SquashFS</comment>
88
<requestid>1267050</requestid>
99
</revision>
10+
<revision rev="2" vrev="1">
11+
<srcmd5>52cea858dfa598f23a569e2347930665</srcmd5>
12+
<version>0.12.1</version>
13+
<time>1744628336</time>
14+
<user>anag_factory</user>
15+
<comment>- Update to version 0.12.1:
16+
Features
17+
* Added --memory-limit=auto to mkdwarfs to use a more reasonable
18+
(hopefully) default for the block queue. The old default of
19+
1 GiB was quite arbitrary and definitely not suitable for
20+
low-end systems. The new auto default will determine the limit
21+
based on the number of workers (which in turn is based on the
22+
number of CPUs), the block size, and the amount of physical
23+
memory of the system.
24+
* Replaced vector_byte_buffer with malloc_byte_buffer, which is
25+
internally based around a simple buffer that doesn't incur the
26+
cost of initializing each element like std::vector. Especially
27+
for large blocks which are known to be overwritten immediately,
28+
this can save a few CPU cycles.
29+
- Changes in version 0.12.0:
30+
* New Licensing Conditions: Instead of being all GPL-3.0 like all
31+
the previous releases, this release changes the license of a
32+
large fraction of the DwarFS code to MIT. All tools and
33+
libraries that only read DwarFS images are now MIT-licensed.
34+
Everything else (e.g. mkdwarfs) is still GPL-3.0 for the time
35+
being.
36+
Bugfixes
37+
* Changes for compatibility with Boost.Process v2.
38+
Features
39+
* Re-licensed all libraries required for reading DwarFS images
40+
under the MIT license. The source of all tools that just read
41+
DwarFS images (i.e. everything except for mkdwarfs) are also
42+
under the MIT license now. Everything else is still GPL-3.0.
43+
gh#mhx/dwarfs#255
44+
* New hotness categorizer in mkdwarfs that allows a list of &quot;hot&quot;</comment>
45+
<requestid>1269054</requestid>
46+
</revision>
1047
</revisionlist>

packages/d/dwarfs/dwarfs-0.11.3.tar.xz

-1
This file was deleted.
+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/ipfs/bafybeiewfdorieem7f6opl5j6wda4kijuf7qs2bs6oejiurrgwhwo3m5uu

packages/d/dwarfs/dwarfs.changes

+49
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,52 @@
1+
-------------------------------------------------------------------
2+
Sun Apr 13 19:46:34 UTC 2025 - Mia Herkt <[email protected]>
3+
4+
- Update to version 0.12.1:
5+
Features
6+
* Added --memory-limit=auto to mkdwarfs to use a more reasonable
7+
(hopefully) default for the block queue. The old default of
8+
1 GiB was quite arbitrary and definitely not suitable for
9+
low-end systems. The new auto default will determine the limit
10+
based on the number of workers (which in turn is based on the
11+
number of CPUs), the block size, and the amount of physical
12+
memory of the system.
13+
* Replaced vector_byte_buffer with malloc_byte_buffer, which is
14+
internally based around a simple buffer that doesn't incur the
15+
cost of initializing each element like std::vector. Especially
16+
for large blocks which are known to be overwritten immediately,
17+
this can save a few CPU cycles.
18+
- Changes in version 0.12.0:
19+
* New Licensing Conditions: Instead of being all GPL-3.0 like all
20+
the previous releases, this release changes the license of a
21+
large fraction of the DwarFS code to MIT. All tools and
22+
libraries that only read DwarFS images are now MIT-licensed.
23+
Everything else (e.g. mkdwarfs) is still GPL-3.0 for the time
24+
being.
25+
26+
Bugfixes
27+
* Changes for compatibility with Boost.Process v2.
28+
29+
Features
30+
* Re-licensed all libraries required for reading DwarFS images
31+
under the MIT license. The source of all tools that just read
32+
DwarFS images (i.e. everything except for mkdwarfs) are also
33+
under the MIT license now. Everything else is still GPL-3.0.
34+
gh#mhx/dwarfs#255
35+
* New hotness categorizer in mkdwarfs that allows a list of "hot"
36+
files to be stored in distinct file system blocks.
37+
* New explicit ordering mode in mkdwarfs that allows files to be
38+
ordered accoring to the order in a given list file.
39+
* dwarfs now shows the version of the FUSE library used.
40+
* New dwarfs options preload_all and preload_category to populate
41+
the block cache immediately after mounting.
42+
* New dwarfs option analysis_file that can be used for profiling
43+
and as input to mkdwarfs new hotness categorizer and explicit
44+
ordering mode.
45+
* New dwarfs option block_allocator that allows the user to
46+
switch from a malloc-based block allocator to an mmap-based
47+
one. This can help with returning memory back to the system if
48+
the blocks are evicted from the cache.
49+
150
-------------------------------------------------------------------
251
Fri Apr 4 07:31:03 UTC 2025 - Jan Engelhardt <[email protected]>
352

packages/d/dwarfs/dwarfs.spec

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@
1919
%define sover %(echo %{version} | sed 's/\\./_/g;')
2020
%define __builder ninja
2121
Name: dwarfs
22-
Version: 0.11.3
22+
Version: 0.12.1
2323
Release: 0
2424
Summary: Deduplicating compressed read-only file system
25-
License: GPL-3.0-or-later
25+
License: GPL-3.0-or-later AND MIT
2626
URL: https://github.com/mhx/dwarfs
2727
Source0: https://github.com/mhx/dwarfs/releases/download/v%{version}/dwarfs-%{version}.tar.xz
2828
BuildRequires: bison

0 commit comments

Comments
 (0)