Support for digesting large files (> 4 GiB)
Status from this message: Applied, thanks
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | treewide: Introduce MAP_FAILED and replace ad-hoc constants with itcommands/ commands/ common/ +3 more | +7 | 0 replies | |
| 2/6 | crypto: digest: Remove unused variablecrypto/ | +0 | 0 replies | |
| 3/6 | crypto: digest: Replace 4096 with PAGE_SIZEcrypto/ | +2 | 0 replies | |
| 4/6 | crypto: digest: Split memory vs. file code into separate functionscrypto/ | +70 | 2 replies | |
| 5/6 | commands: digest: Use MAX_LFS_FILESIZE instead of ~0commands/ | +2 | 0 replies | |
| 6/6 | crypto: digest: Change the signature of digest_file_window()crypto/ include/ | +4 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/6] Support for digesting large files (> 4 GiB)
Everyone:
This is the series of patches I made while to fix incorrect behaviour while trying to md5sum a 128 GiB file. Most of the patches should be pretty straightforward. If "crypto: digest: Split memory vs. file code into separate functions" is too controversial it can be dropped.
Feedback is welcome!
Thanks,
Andrey Smirnov
Andrey Smirnov (6):
treewide: Introduce MAP_FAILED and replace ad-hoc constants with it
crypto: digest: Remove unused variable
crypto: digest: Replace 4096 with PAGE_SIZE
crypto: digest: Split memory vs. file code into separate functions
commands: digest: Use MAX_LFS_FILESIZE instead of ~0
crypto: digest: Change the signature of digest_file_window()
commands/digest.c | 3 +- commands/go.c | 2 +- commands/md.c | 2 +- common/ratp/md.c | 2 +- crypto/digest.c | 122 +++++++++++++++++++++++++++------------------- fs/fs.c | 2 +- include/digest.h | 2 +- include/fs.h | 2 + 8 files changed, 80 insertions(+), 57 deletions(-)
Signature · 7 lines
2.20.1 _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox