Skip to content

Commit

Permalink
Release 2.0.3.1000
Browse files Browse the repository at this point in the history
  • Loading branch information
Liryna committed Feb 14, 2022
1 parent a04b410 commit 5db4983
Show file tree
Hide file tree
Showing 11 changed files with 44 additions and 27 deletions.
17 changes: 17 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,23 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/).

## [2.0.3.1000] - 2021-02-06

### Added
- Library - Add 16-128k IoBatch/EventResult pool for read and write.

### Changed
- MemFS - Replace `std::mutex` by `std::shared_mutex`.
- Library - Detect and use the best number of pulling threads with a minimum of two (unless single thread mode enabled) and a max of 16. Above 16, the io batch is enabled to use the extra threads to execute the possible extra request pulled.
- Library - Expensive `ZeroMemory` on large Read and Write buffers were removed.
- Library - Use absolute path for `NetworkProvider` registration `ProviderPath`.

### Fixed
- Installer - Change driver `GUID` to avoid installer to uninstall v1 files during the installation.
- Library - Fix incorrect lock hold when manipulating IoBatch.
- Library - Add lock to avoid `Unmounted` callback to be called multiple times (each pulling thread).
- MemFS - Fix double instance free on `CTRL+C`.

## [2.0.2.1000] - 2021-02-06

### Fixed
Expand Down
2 changes: 1 addition & 1 deletion Dokan.props
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<ImportGroup Label="PropertySheets" />
<PropertyGroup Label="UserMacros">
<DOKANAPIVersion>2</DOKANAPIVersion>
<DOKANVersion>2.0.2</DOKANVersion>
<DOKANVersion>2.0.3</DOKANVersion>
</PropertyGroup>
<PropertyGroup />
<ItemDefinitionGroup />
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,15 @@ for more information.

The API has then again changed over time in [1.1.0](https://github.com/dokan-dev/dokany/wiki/Update-Dokan-1.0.0-application-to-Dokany-1.1.0) and [2.0.0](https://github.com/dokan-dev/dokany/wiki/Update-Dokan-1.1.0-application-to-Dokany-2.0.0).

## Benchmark v1.5.1.1000 vs v2.0.1.2000
A benchmark that is testing multiple scenarios repeaditly and sequentially was run 5 times against the `memfs` sample of v1.5.1.1000 and v2.0.1.2000 in an idle environment to precise results.
## Benchmark v1.5.1.1000 vs v2.0.3.1000
A benchmark that is testing multiple scenarios repeaditly and sequentially was run 5 times against the `memfs` sample of v1.5.1.1000 and v2.0.3.1000 in an idle environment to precise results.
The detail results can be seen in this spreadsheet [here](https://docs.google.com/spreadsheets/d/1zdJ6fmP_sqUGCM7SLtTle9N3JLyBOEAMRlwDLfUqm4Q/edit?usp=sharing).
As better threading and memory poll were added in v2, it is expected that concurrent scenarios (like those tests) would be even more highly improved.

A sample of the results:
```
Create New | +13.55% | List | +60.69% | GetAttributes | +48.78% | Read | +16-28% |
Open/Overwrite | +153.41% | ListExactFile | +131.91% | SetAttributes | +120.91% | Write | +2-24% |
Create New | +13.55% | List | +60.69% | GetAttributes | +48.78% | Read | +18-42% |
Open/Overwrite | +153.41% | ListExactFile | +131.91% | SetAttributes | +120.91% | Write | +10-32% |
RandomOpenClose | +173.05% | | | Delete | +90.83% | | |
```

Expand Down
2 changes: 1 addition & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
WLK_INST_CACHE: '%DOKAN_CI_CACHE%\wlk_inst'
DOKAN_MAIN_BUILD_JOB_NAME: "Image: Visual Studio 2019; Configuration: All"

version: 2.0.2-{build}
version: 2.0.3-{build}
configuration:
- All
- SonarQube
Expand Down
2 changes: 1 addition & 1 deletion documentations/Doxyfile
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ PROJECT_NAME = Dokan
# could be handy for archiving the generated documentation or if some version
# control system is used.

PROJECT_NUMBER = 2.0.2
PROJECT_NUMBER = 2.0.3

# Using the PROJECT_BRIEF tag one can provide an optional one line description
# for a project that appears at the top of each page and should give viewer a
Expand Down
2 changes: 1 addition & 1 deletion dokan/dokan.h
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ extern "C" {
/** @{ */

/** The current Dokan version (200 means ver 2.0.0). \ref DOKAN_OPTIONS.Version */
#define DOKAN_VERSION 202
#define DOKAN_VERSION 203
/** Minimum Dokan version (ver 2.0.0) accepted. */
#define DOKAN_MINIMUM_COMPATIBLE_VERSION 200
/** Driver file name including the DOKAN_MAJOR_API_VERSION */
Expand Down
8 changes: 4 additions & 4 deletions dokan/dokan.rc
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
//

VS_VERSION_INFO VERSIONINFO
FILEVERSION 2,0,2,1000
PRODUCTVERSION 2,0,2,1000
FILEVERSION 2,0,3,1000
PRODUCTVERSION 2,0,3,1000
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0x1L
Expand All @@ -34,12 +34,12 @@ BEGIN
BEGIN
VALUE "CompanyName", "Dokan Project"
VALUE "FileDescription", "Dokan Library"
VALUE "FileVersion", "2.0.2.1000"
VALUE "FileVersion", "2.0.3.1000"
VALUE "InternalName", "dokan.dll"
VALUE "LegalCopyright", "Copyright (C) 2021"
VALUE "OriginalFilename", "dokan.dll"
VALUE "ProductName", "Dokan"
VALUE "ProductVersion", "2.0.2.1000"
VALUE "ProductVersion", "2.0.3.1000"
END
END
BLOCK "VarFileInfo"
Expand Down
8 changes: 4 additions & 4 deletions dokan_fuse/src/dokanfuse.rc
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
//

VS_VERSION_INFO VERSIONINFO
FILEVERSION 2,0,2,1000
PRODUCTVERSION 2,0,2,1000
FILEVERSION 2,0,3,1000
PRODUCTVERSION 2,0,3,1000
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0x1L
Expand All @@ -34,12 +34,12 @@ BEGIN
BEGIN
VALUE "CompanyName", "Dokan Project"
VALUE "FileDescription", "Dokan Fuse library"
VALUE "FileVersion", "2.0.2.1000"
VALUE "FileVersion", "2.0.3.1000"
VALUE "InternalName", "dokanfuse.dll"
VALUE "LegalCopyright", "Copyright (C) 2021"
VALUE "OriginalFilename", "dokanfuse.dll"
VALUE "ProductName", "Dokan"
VALUE "ProductVersion", "2.0.2.1000"
VALUE "ProductVersion", "2.0.3.1000"
END
END
BLOCK "VarFileInfo"
Expand Down
8 changes: 4 additions & 4 deletions dokan_np/dokan_np.rc
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
//

VS_VERSION_INFO VERSIONINFO
FILEVERSION 2,0,2,1000
PRODUCTVERSION 2,0,2,1000
FILEVERSION 2,0,3,1000
PRODUCTVERSION 2,0,3,1000
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0x1L
Expand All @@ -34,12 +34,12 @@ BEGIN
BEGIN
VALUE "CompanyName", "Dokan Project"
VALUE "FileDescription", "Dokan Network Provider"
VALUE "FileVersion", "2.0.2.1000"
VALUE "FileVersion", "2.0.3.1000"
VALUE "InternalName", "dokan.dll"
VALUE "LegalCopyright", "Copyright (C) 2021"
VALUE "OriginalFilename", "dokannp.dll"
VALUE "ProductName", "Dokan"
VALUE "ProductVersion", "2.0.2.1000"
VALUE "ProductVersion", "2.0.3.1000"
END
END
BLOCK "VarFileInfo"
Expand Down
6 changes: 3 additions & 3 deletions dokan_wix/version.xml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<Include>
<?define ProductName="Dokan Library" ?>
<?define ProductCodeX64="{DB21E410-4FE3-0200-0002-220206123355}" ?>
<?define ProductCodeX64="{DB21E410-4FE3-0200-0003-220213223853}" ?>
<?define UpgradeCodeX64="{FC60082A-8D90-4AEB-901A-C5E38682B830}" ?>
<?define ProductCodeX86="{DB21E410-4FE3-0200-0002-220206123355}" ?>
<?define ProductCodeX86="{DB21E410-4FE3-0200-0003-220213223853}" ?>
<?define UpgradeCodeX86="{FC60082A-8D90-4AEB-901A-C5E38682B830}" ?>
<?define ProviderKey="{5F030BFA-CE6E-408A-9694-F593B319DBBE}" ?>
<?define BundleUpgradeCode="{832B1FAC-B29B-4DDC-A449-007F63A4A1EF}" ?>
<?define BaseVersion="2.0.2" ?>
<?define BaseVersion="2.0.3" ?>
<?define MajorVersion="2" ?>
<?define BuildVersion="1000" ?>
<?define CompanyName="Dokany Project" ?>
Expand Down
8 changes: 4 additions & 4 deletions sys/dokan.rc
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
//

VS_VERSION_INFO VERSIONINFO
FILEVERSION 2,0,2,1000
PRODUCTVERSION 2,0,2,1000
FILEVERSION 2,0,3,1000
PRODUCTVERSION 2,0,3,1000
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0x1L
Expand All @@ -34,12 +34,12 @@ BEGIN
BEGIN
VALUE "CompanyName", "Dokan Project"
VALUE "FileDescription", "Dokan Driver"
VALUE "FileVersion", "2.0.2.1000"
VALUE "FileVersion", "2.0.3.1000"
VALUE "InternalName", "dokan.sys"
VALUE "LegalCopyright", "Copyright (C) 2021"
VALUE "OriginalFilename", "dokan.sys"
VALUE "ProductName", "Dokan"
VALUE "ProductVersion", "2.0.2.1000"
VALUE "ProductVersion", "2.0.3.1000"
END
END
BLOCK "VarFileInfo"
Expand Down

0 comments on commit 5db4983

Please sign in to comment.