[PATCH 0/6] Support for digesting large files (> 4 GiB)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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(-)

-- 
2.20.1


_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux