diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2014-07-01 23:50:17 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2014-07-02 00:05:43 +0900 |
| commit | 8750d7be99be5b59aef460e1e70519986ba50564 (patch) | |
| tree | f3fd051408b4068d94ee2daa9de63edd5d8b3f7b /src/AbstractDiskWriter.h | |
| parent | 0b6501043a88dedd3936dce4b10bacd96e63909b (diff) | |
Disard cache when checking checksum
This will slow down checksum checking but does not thrash cache.
Diffstat (limited to 'src/AbstractDiskWriter.h')
| -rw-r--r-- | src/AbstractDiskWriter.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/AbstractDiskWriter.h b/src/AbstractDiskWriter.h index 64e8ade0..f469ab4f 100644 --- a/src/AbstractDiskWriter.h +++ b/src/AbstractDiskWriter.h @@ -96,6 +96,8 @@ public: virtual void disableReadOnly() CXX11_OVERRIDE; virtual void enableMmap() CXX11_OVERRIDE; + + virtual void dropCache(int64_t len, int64_t offset) CXX11_OVERRIDE; }; } // namespace aria2 |
