Commit graph

26 commits

Author SHA1 Message Date
Andrea Mazzoleni
209b902301 Clarify raid_malloc documentation 2026-09-16 12:24:42 +02:00
Andrea Mazzoleni
2f47d407ba Strengthen stream and vector memory tests 2026-09-11 09:27:42 +02:00
Andrea Mazzoleni
85d50456d7 Use size_t instead of ssize_t for buffer sizes in raid_malloc_vector_align 2026-08-31 10:39:17 +02:00
Andrea Mazzoleni
5ed6a29db2 Document memory helpers, freeing semantics, and design invariants 2026-08-24 22:01:40 +02:00
Andrea Mazzoleni
f09091a4e4 Refine RAID buffer displacement rationale 2026-08-18 23:33:57 +02:00
Andrea Mazzoleni
2dbb25acbd Allow to specify the wrap size in allocation 2026-08-18 23:33:54 +02:00
Andrea Mazzoleni
e43964523f Refactor and reorganize parity generation functions using inline templates 2026-08-18 23:33:54 +02:00
Andrea Mazzoleni
76998613da Remove the unused number of data disks from the vector allocation
The same addressing rules are applied to the parity disks because
they are used as data disks during recovery operations.
2026-08-18 23:33:54 +02:00
Andrea Mazzoleni
5795b9706e Use the optimal displacement depending on the number of disks 2026-08-18 23:33:53 +02:00
Andrea Mazzoleni
04df1f7b26 New displacement benchmarks 2026-08-18 23:33:53 +02:00
Andrea Mazzoleni
b709371d2d Fix typos in the comment of the raid library
Some checks are pending
Build / build-mac (push) Waiting to run
Build / build-linux (push) Waiting to run
Build / build-win (push) Waiting to run
CodeQL Advanced / Analyze (c-cpp) (push) Waiting to run
CodeQL Advanced / Analyze (actions) (push) Waiting to run
2026-04-15 10:53:25 +02:00
Andrea Mazzoleni
0d0431a907 Simpler Copyright string 2026-04-09 17:56:49 +02:00
Christoph Hellwig
60269a1236 Use SPDX (https://spdx.dev/) tags to identify the license used for each
file, and a COPYING file explaining the licensing scheme, with the actual
licenses listed in the LICENSES/ directory.
2026-04-02 16:01:37 +02:00
Andrea Gelmini
986e9b4131 Fix typos 2020-05-26 12:50:15 +02:00
Andrea Mazzoleni
21241c5078 Preliminary advise support 2016-05-15 14:50:59 +02:00
Andrea Mazzoleni
c8558c28ac Fix some formatting issues of the code
Now it matches the Linux kernel style.
2015-03-12 18:53:36 +01:00
Andrea Mazzoleni
95e4ed03bf Removes rand() use from the raid module. 2014-12-27 11:45:59 +01:00
Andrea Mazzoleni
44ef039a13 Different source organization. 2014-03-23 17:50:27 +01:00
Andrea Mazzoleni
a7bc628bc3 Moves the source files into the src/ dir. 2014-03-22 21:02:12 +01:00
Andrea Mazzoleni
00a05a80e5 Changes the argument format of raid_rec() and renames raid_par() to raid_gen(). 2014-01-08 17:07:13 +01:00
Andrea Mazzoleni
d7ba004e30 Some minor comment/format changes. 2014-01-04 17:29:25 +01:00
Andrea Mazzoleni
6b619906af Refactors again function calls. 2014-01-03 10:36:21 +01:00
Andrea Mazzoleni
cae803bdfb Refactors vector operations. 2014-01-02 17:51:50 +01:00
Andrea Mazzoleni
3be88162b9 Rafactors again with some minor changes. 2014-01-01 20:38:19 +01:00
Andrea Mazzoleni
8a904cbe7a Uses specific architecture defines. 2013-12-30 21:12:29 +01:00
Andrea Mazzoleni
03482b84a6 Moves RAID tests in the raid/ dir. 2013-12-29 22:13:08 +01:00