Commit graph

383 commits

Author SHA1 Message Date
toninov
6859277be6
Change arguments name 2025-08-01 14:46:27 +02:00
toninov
13d4e5b548
Use the flags 2025-07-30 00:25:50 +02:00
toninov
d5eb3dceb5
Add options to CLI 2025-07-30 00:02:25 +02:00
toninov
29df1f1ee6
Move text arg into sflc_const 2025-07-29 23:39:36 +02:00
toninov
2f5b0ca736
Rename back to sflite_io 2025-07-29 23:31:18 +02:00
toninov
a31a149c2a
Add read opt queue 2025-07-27 21:48:45 +02:00
toninov
12e5a2753f
Rename opt arg 2025-07-27 14:26:52 +02:00
toninov
f2971a2234
Make flush always queued 2025-07-26 19:21:07 +02:00
toninov
ef143c1f4c
Typos 2025-07-26 13:43:39 +02:00
toninov
c6c28cc0fa
Typos 2025-07-26 13:43:12 +02:00
toninov
706ddb6980
Make queues optional in dm-sflc lite 2025-07-26 13:41:47 +02:00
toninov
2523ae371a
Add optional arg to sflite 2025-07-26 13:00:39 +02:00
toninov
72cb56eff7
maybe you should init the args_base wdyt 2025-07-24 23:02:10 +02:00
toninov
5edfda18b0
Switch to args struct 2025-07-24 20:58:34 +02:00
toninov
6206dd4898
Add support for args struct in top level 2025-07-22 22:35:27 +02:00
toninov
d9e3745a33
Define ctor args 2025-07-22 00:25:03 +02:00
Tommaso Gagliardoni
07cc5797d9 fix: Fragmentation scripts now poll the right path for used slices 2025-07-20 00:40:04 +02:00
Tommaso Gagliardoni
0e0f443260 doc: Add instructions to README and benchmarks 2025-07-19 18:11:13 +02:00
Tommaso Gagliardoni
35dff327b7 Merge pull request 'docs: Minor language edits in README.md' (#133) from v0.5.3 into dev
Reviewed-on: https://codeberg.org/shufflecake/shufflecake-c/pulls/133
2025-07-05 01:06:41 +02:00
Tommaso Gagliardoni
a35f4de97b docs: Minor language edits in README.md 2025-07-05 01:04:15 +02:00
Tommaso Gagliardoni
0c97af355d Merge pull request 'v0.5.3' (#131) from v0.5.3 into dev
Reviewed-on: https://codeberg.org/shufflecake/shufflecake-c/pulls/131
2025-07-05 00:59:26 +02:00
Tommaso Gagliardoni
9a9d96653b chore: Prepare release v0.5.3 2025-07-05 00:57:43 +02:00
Tommaso Gagliardoni
7c631e2d84 chore: Prepare release v0.5.3 2025-07-05 00:53:44 +02:00
Tommaso Gagliardoni
3ee551789f Merge pull request 'versionfix' (#130) from versionfix into dev
Reviewed-on: https://codeberg.org/shufflecake/shufflecake-c/pulls/130
2025-07-05 00:43:14 +02:00
Tommaso Gagliardoni
609b31ddc1 docs: Minor language edits in README.md 2025-07-05 00:40:11 +02:00
Tommaso Gagliardoni
79f1549664 refactor: Correctly import version string from sflc_constants.h instead of hardcoded hack 2025-07-05 00:24:19 +02:00
toninov
91504c83e0
Make const parameter version dependent 2025-07-04 12:45:31 +02:00
toninov
9f97f79fdb Merge pull request 'fix: GCC 15 raised -Wincompatible-pointer-types' (#120) from BenjaminV/shufflecake-c:incompatible_pointer_types into dev
Reviewed-on: https://codeberg.org/shufflecake/shufflecake-c/pulls/120
2025-07-03 10:50:06 +02:00
Benjamin Voisin
4c8a50b7c4 fix: GCC 15 raised -Wincompatible-pointer-types
On GCC 15.1.0, the error
sysfs.c:47:56: error: initialization of 'ssize_t (*)(const struct module_attribute *, struct module_kobject *, char *)' {aka 'long int (*)(const struct module_attribute *, struct module_kobject *, char *)'} from incompatible pointer type 'ssize_t (*)(struct module_attribute *, struct module_kobject *, char *)' {aka 'long int (*)(struct module_attribute *, struct module_kobject *, char *)'} [-Wincompatible-pointer-types]

is raised. This is fixed by adding the `const` specifier.

Signed-off-by: Benjamin Voisin <benjamin.voisin@ens-rennes.fr>
2025-07-03 10:50:06 +02:00
Tommaso Gagliardoni
4ec1b1cdb2 Merge pull request 'Add FLUSH support, make posmap write-back' (#129) from feat/flush into dev
Reviewed-on: https://codeberg.org/shufflecake/shufflecake-c/pulls/129
2025-07-03 10:44:46 +02:00
toninov
a0d9252127
Revert gcc fix, so as to merge PR 2025-07-03 10:37:18 +02:00
toninov
d53f77c1b0
Remove panicky prints and sleeps 2025-07-02 15:26:35 +02:00
toninov
e5d2674127
Fix and rmeove prints 2025-05-04 16:00:28 +02:00
toninov
b6f7bc9ca3
Fix typo 2025-05-03 19:44:35 +02:00
toninov
54b2e4b2e4
Fix bug with occupation_bitmap and slices_lock 2025-04-26 15:49:55 +02:00
toninov
f08cca776f
Fix compilation errors 2025-04-26 15:04:52 +02:00
toninov
af66be4092
Add symlink to flush.c 2025-04-26 13:21:30 +02:00
toninov
97092899b1
Whoopsie forgot to add flush.c 2025-04-25 21:49:36 +02:00
toninov
5af4437f96
Implement flush at the sflite target level 2025-04-25 21:37:36 +02:00
toninov
fa5a6b733e
Update access control in write.c 2025-04-25 00:38:18 +02:00
toninov
ceee6f6a8e
Update access control in read.c 2025-04-25 00:26:17 +02:00
toninov
f2095588ba
tentatively finish posmap 2025-03-28 01:31:15 +01:00
toninov
f94d85e430
add crypt_entries and fix bug 2025-03-28 00:12:14 +01:00
toninov
3c70b52f59
Beginning of posmap flushing 2025-03-24 00:54:01 +01:00
toninov
cb469af374
More posmap refactoring 2025-03-22 17:33:10 +01:00
=
f9d54a7649 Adjust sysfs 2025-02-08 20:08:23 +01:00
=
29e0e1871a Adjust sflite_volume 2025-02-08 19:52:25 +01:00
=
14f41a7028 Use spinlock and bitmap in sflite_device 2025-02-08 19:39:25 +01:00
=
3e9b520a7a Move struct decls into types 2025-02-08 19:30:54 +01:00
Tommaso Gagliardoni
b70122a689 doc: Minor update to README.md 2025-01-17 11:24:27 +01:00