Commit graph

118 commits

Author SHA1 Message Date
Tommaso Gagliardoni
3455daad29 chore: Prepare release v0.5.6 2025-11-24 00:08:52 +01:00
toninov
c5f8c5e966 Add max_order to compatibility layer 2025-11-23 18:42:48 +01:00
Tommaso Gagliardoni
0a52e7ac29 style: 4spaces to tab in write.c 2025-11-22 20:33:12 +01:00
Tommaso Gagliardoni
66e4c7efb7 bugfix: Declare MAX_PAGE_ORDER on older kernels 2025-11-22 12:27:27 +01:00
Tommaso Gagliardoni
0ef5bbf600 bugfix: Fix typo MAX_PAGE_ORDER 2025-11-21 23:18:01 +01:00
toninov
53b2492771 Unlock 4KB and allocate 2025-11-21 19:25:35 +01:00
toninov
8832eebde2 Fix stupid bug 2025-10-26 23:25:46 +01:00
toninov
3c53bff439
Use generic bio crypt (still 4K only) 2025-10-26 20:03:00 +01:00
toninov
32c1b16e12
Make it more generic 2025-10-26 19:28:56 +01:00
toninov
2e96ec2374
Fix compilation 2025-10-26 14:43:17 +01:00
toninov
45c1c919fd
Use generic function for buf encdec 2025-10-26 14:18:24 +01:00
toninov
b399ca8c3d
Write generic crypt_blocks 2025-10-26 11:49:39 +01:00
toninov
f6c15bf871
Switch to sync_skcipher 2025-10-25 15:39:04 +02:00
toninov
6a7d0268c6
fix 2025-10-12 19:55:03 +02:00
toninov
b818b49098
Extend 2025-10-12 19:00:23 +02:00
toninov
97bcb2a404
Bugfix 2025-10-12 18:38:14 +02:00
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
a9cb3b474e chore: Prepare release v0.5.5 2025-09-24 10:37:14 +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
Tommaso Gagliardoni
c1c679af47 chore: Prepare release v0.5.4 2025-09-06 22:50:14 +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
toninov
b4ed1d9e0c
Unsupport FUA WRITEs 2025-09-04 20:40:53 +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
f0288879c4 doc: Add comments in src files of Lite
One comment is a TODO about the possibility of doing slice garbage collection dynamically instead of requiring a reload. The other is a warning about the importance of terminating a TRIM bio before it reaches the block device, otherwise plausible deniability might break.
2025-08-25 16:47:18 +02:00
toninov
466fba564b
queue flag check was flipped 2025-08-01 15:04:33 +02:00
toninov
540fd4c4a3
show queue flags in sysfs 2025-08-01 14:56:44 +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
Anderson Rosenberg
e45f828bc9
add capability to DISCARD unused slices when requested by the filesystem; flush position map on close 2025-07-28 14:43:37 -04: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