VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Platform/SystemException.h
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2023-06-04 16:25:55 +0200
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2023-06-04 16:25:55 +0200
commit22466535f1b9cbe1bd98363cfa98f7f796bc408a (patch)
tree7ee1c59af8e16b57953a86f8837fe465e418f60a /src/Platform/SystemException.h
parent3c68349a39877c5420c727cd53143ab442963759 (diff)
downloadVeraCrypt-22466535f1b9cbe1bd98363cfa98f7f796bc408a.tar.gz
VeraCrypt-22466535f1b9cbe1bd98363cfa98f7f796bc408a.zip
Windows: Possible workaround for logarithmic slowdown for Encrypt-In-Place on large volumes (relates to #1063)
We replace absolute file pointer moving by relative moving with respect to current position. This was implemented as a workaround to address the performance issues related to in-place encryption. When using SetFilePointerEx() with FILE_BEGIN as the reference point, reaching the end of large drives during in-place encryption can cause significant slowdowns. By moving the file pointer relatively, these performance issues are mitigated.
Diffstat (limited to 'src/Platform/SystemException.h')
0 files changed, 0 insertions, 0 deletions
href='#n133'>133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184