Commit graph

456 commits

Author SHA1 Message Date
toninov
9a71c3b4f3
Use KMALLOC_MAX_SIZE 2025-10-05 12:41:15 +02:00
toninov
f4bbb60225
Fix another rookie mistake 2025-10-04 22:49:44 +02:00
toninov
6d81c9d8d6
Fix rookie mistakes 2025-10-04 22:41:44 +02:00
toninov
35d9b3e4e8
Fix compilation 2025-10-04 22:25:34 +02:00
toninov
b4686a398e
Advance seqnum in create and destroy local_slice_mapping 2025-10-03 23:09:28 +02:00
toninov
3e231d0cd7
Finish flush.c 2025-10-03 22:44:25 +02:00
toninov
e1e1d4b9ec
Start flush() funciton 2025-10-03 12:57:41 +02:00
toninov
050fc9a385
Finish helpers for flush 2025-10-02 23:58:24 +02:00
toninov
806c524c02
Define send_cwbs() 2025-10-02 20:23:47 +02:00
toninov
789cb4a49b
Define prepare_posmap_cwbs() 2025-10-02 16:49:56 +02:00
toninov
c2b5e4fa59
Fix compilation 2025-10-01 23:00:41 +02:00
toninov
56ce34784e
Declare new functions and posmap fields 2025-10-01 22:46:09 +02:00
Tommaso Gagliardoni
25ea449a7f Merge pull request 'release: v0.5.5' (#152) from v0.5.5 into dev
Reviewed-on: https://codeberg.org/shufflecake/shufflecake-c/pulls/152
2025-09-24 10:38:36 +02:00
Tommaso Gagliardoni
a9cb3b474e chore: Prepare release v0.5.5 2025-09-24 10:37:14 +02:00
Tommaso Gagliardoni
757f841211 Merge pull request 'fix/vmalloc-scatterlist' (#151) from fix/vmalloc-scatterlist into dev
Reviewed-on: https://codeberg.org/shufflecake/shufflecake-c/pulls/151
2025-09-24 10:23:24 +02:00
Tommaso Gagliardoni
e767b8ca81 style: Fix paragraph line break in README 2025-09-24 10:20:35 +02:00
Tommaso Gagliardoni
7bad410e03 fix: Only set max discard granularity for newer kernels 2025-09-23 17:16:26 +02:00
toninov
ad843ec97d
Fix compilation on older kernels (reenable errors in bad DISCARDs) 2025-09-21 12:54:43 +02:00
toninov
fda27f7b52
Use the new sflite_crypt_blocks_buf everywhere 2025-09-21 12:36:59 +02:00
toninov
51f5c2b9c1
Define functions to use vmalloc_to_page() 2025-09-14 19:45:29 +02:00
toninov
75c0f30ca9 Use perror to properly format the errno 2025-09-12 11:24:30 +02:00
toninov
be8d9d5e3a Add a sentence in README on Secure Boot 2025-09-12 10:02:35 +02:00
Tommaso Gagliardoni
53b9c79e87 doc: Minor change to README.md 2025-09-11 22:02:55 +02:00
Tommaso Gagliardoni
264c79f335 Merge pull request 'fix/docs-and-err-msg' (#150) from fix/docs-and-err-msg into dev
Reviewed-on: https://codeberg.org/shufflecake/shufflecake-c/pulls/150
2025-09-11 21:59:16 +02:00
toninov
95a72fc8e7
Add explicit error message for non-inserted dm-sflc 2025-09-11 13:02:08 +02:00
toninov
2a2166cb17
Add Secure Boot paragraph to README 2025-09-11 12:30:28 +02:00
Tommaso Gagliardoni
01f81727c4 Merge pull request 'release: v0.5.4' (#146) from v0.5.4 into dev
Reviewed-on: https://codeberg.org/shufflecake/shufflecake-c/pulls/146
2025-09-06 23:17:17 +02:00
Tommaso Gagliardoni
4e55a381a9 doc: Fix typo in README.md 2025-09-06 23:05:19 +02:00
Tommaso Gagliardoni
c1c679af47 chore: Prepare release v0.5.4 2025-09-06 22:50:14 +02:00
Tommaso Gagliardoni
4ce3b3fc55 fix: Remove temporary debug output in benchmark script 2025-09-06 21:18:57 +02:00
Tommaso Gagliardoni
b253a92cba fix: Undefine BLK_STS_INVAL
This symbol seems to be only supported in recent kernels, so remvoing it for now to allow compilation on older kernels
2025-09-06 20:52:49 +02:00
Tommaso Gagliardoni
5b0d030780 revert: Unsupport FUA WRITEs
This reverts commit b4ed1d9e0c due to a bug when opening volumes.
2025-09-06 20:45:46 +02:00
Tommaso Gagliardoni
0123cf867d fix: Revert fix for benchmark scripts 2025-09-05 13:49:54 +02:00
Tommaso Gagliardoni
9862a7983c fix: Test a race condition fix for benchmark scripts 2025-09-05 13:39:09 +02:00
Tommaso Gagliardoni
11cd4f10c1 fix: Test a race condition fix for benchmark scripts 2025-09-05 13:36:24 +02:00
Tommaso Gagliardoni
206d9d2b8f style: Remove empty spacing alignment from benchmark scripts 2025-09-05 13:31:53 +02:00
Tommaso Gagliardoni
72d8773a01 fix: Fix benchmark race condition and not removing directory 2025-09-05 11:42:07 +02:00
toninov
b4ed1d9e0c
Unsupport FUA WRITEs 2025-09-04 20:40:53 +02:00
toninov
8fdc4a9195
Typo 2025-09-04 20:14:42 +02:00
toninov
0d1bc9b741
Merge andersonarc/feat/discard into dev 2025-09-04 20:10:19 +02:00
toninov
110c0c27be
Change error codes for invalid DISCARDs 2025-09-04 19:57:43 +02:00
Tommaso Gagliardoni
7e1a221f50 docs: Minor clarification in CONTRIBUTING.md about admissible branches for PR 2025-09-02 12:07:02 +02:00
Tommaso Gagliardoni
bb08c007d3 docs: Distinguish between dm-sflc.ko and dm_sflc in README.md 2025-09-02 12:02:51 +02:00
Tommaso Gagliardoni
b0c8f81c16 Merge pull request 'fix/benchmarks' (#144) from fix/benchmarks into dev
Reviewed-on: https://codeberg.org/shufflecake/shufflecake-c/pulls/144
2025-09-02 11:59:28 +02:00
Tommaso Gagliardoni
83d8d10302 style: Change color pattern of benchmark help usage string 2025-09-02 11:54:47 +02:00
Tommaso Gagliardoni
91c7933823 chore: Benchmark runtime set to 10s for all 2025-09-02 11:50:11 +02:00
Tommaso Gagliardoni
4723263a18 fix: Fix benchmark Veracrypt 2025-09-02 11:48:34 +02:00
Tommaso Gagliardoni
b41805e35c fix: Fix benchmark LUKS 2025-09-02 11:41:36 +02:00
Tommaso Gagliardoni
55a926a15f fix: Fix fragscript sflc legacy 2025-09-02 11:31:50 +02:00
Tommaso Gagliardoni
66d9afa5c3 fix: Fix benchmark scripts shebang 2025-09-02 11:26:45 +02:00