Skip to content

Commit 77f0a69

Browse files
committed
Release 0.4
1 parent 4d9e3e0 commit 77f0a69

3 files changed

Lines changed: 9 additions & 8 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ I'm not responsible for the data stored using chunkdisk!
2727
2828
* MAKE A BACKUP of `.chunkdisk` file. Chunkdisk reads it only once when it's mounted. It can be read, modified and even deleted by others while the disk is mounted.
2929
* DO NOT add, remove and move around chunk files when the disk is mounted. Doing so confuses chunkdisk and causes I/O errors.
30-
* Chunks in use (or recently used) are write-protected. You may read chunks anytime (may not be up to date), but you SHOULD NOT modify them directly when the disk is mounted.
30+
* DO NOT directly modify chunk files. They are NOT write-protected even when being used.
3131
3232
## `.chunkdisk` File Specs
3333
@@ -40,12 +40,12 @@ I'm not responsible for the data stored using chunkdisk!
4040
```
4141

4242
* UTF-8 encoding
43-
* Disk size and chunk size must be a multiple of 512.
43+
* Disk size and chunk size must be a multiple of 4096.
4444
* The sum of max. number of chunks must be at least (Disk size) / (Chunk size) + surplus (0 ~ 1).
4545

4646
## Issues
4747

48-
* I/O is single-threaded due to [the WinSpd issue](https://github.com/billziss-gh/winspd/issues/10). The performance would be fine except for multi-threaded random I/Os with NVMe SSDs.
48+
* Random I/O performance is not great with SSDs.
4949

5050
## Notes and Tips
5151

chunkdisk.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
* TRIM (Unmap): make chunk empty if whole, fill zero otherwise
1717
* TODO: check partition -> TRIM -> shrink -> delete orphan empty chunks
1818
* TODO: sparse chunk
19+
* TODO: asynchronous (overlapped) file operations
1920
*/
2021

2122
#include <type_traits>
@@ -1634,7 +1635,7 @@ static void BufferFree(PVOID Pointer)
16341635
static DWORD CreateChunkDiskStorageUnit(ChunkDisk* cdisk, BOOLEAN write_protected, PWSTR pipe_name)
16351636
{
16361637
const wchar_t ProductId[] = L"ChunkDisk";
1637-
const wchar_t ProductRevision[] = L"0.1";
1638+
const wchar_t ProductRevision[] = L"0.4";
16381639
SPD_STORAGE_UNIT_PARAMS unit_params;
16391640

16401641
memset(&unit_params, 0, sizeof unit_params);

chunkdisk.rc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
#include <winver.h>
22

33
VS_VERSION_INFO VERSIONINFO
4-
FILEVERSION 0,3,0,0
5-
PRODUCTVERSION 0,3,0,0
4+
FILEVERSION 0,4,0,0
5+
PRODUCTVERSION 0,4,0,0
66
FILEFLAGSMASK 0x3fL
77
#ifdef _DEBUG
88
FILEFLAGS 0x1L
@@ -18,12 +18,12 @@ BEGIN
1818
BLOCK "040904b0"
1919
BEGIN
2020
VALUE "FileDescription", "chunkdisk"
21-
VALUE "FileVersion", "0.3.0.0"
21+
VALUE "FileVersion", "0.4.0.0"
2222
VALUE "InternalName", "chunkdisk.exe"
2323
VALUE "LegalCopyright", "Copyright (C) 2021 extratype"
2424
VALUE "OriginalFilename", "chunkdisk.exe"
2525
VALUE "ProductName", "chunkdisk"
26-
VALUE "ProductVersion", "0.3.0.0"
26+
VALUE "ProductVersion", "0.4.0.0"
2727
END
2828
END
2929
BLOCK "VarFileInfo"

0 commit comments

Comments
 (0)