1. 17 Sep, 2016 1 commit
    • Mark Fasheh's avatar
      Remove sha256 · f061d953
      Mark Fasheh authored
      We've proven by now that a cryptographic hash is not needed for duperemoves
      purpoes. In addition, this hasn't been the default since v0.09. We can
      safely remove this now.
      Signed-off-by: 's avatarMark Fasheh <mfasheh@suse.de>
      f061d953
  2. 01 Jul, 2015 1 commit
    • Mark Fasheh's avatar
      Clean up prints during the dedupe phase · 6a9b5d55
      Mark Fasheh authored
      Print the hash id of dupe extents in the dupe table, and also during the
      dedupe phase. This is intended to make it easier for users to follow the
      status of a series of extents throughout the course of a run.
      
      The prints during dedupe_extent_list also get cleaned up, and if verbose is
      asked for, we give a print of each individual extent as it gets queued into
      the dedupe context. All verbosity levels now get an error output if an
      individual extent was unable to be deduped.
      
      Lastly, I added a console mutex to avoid some of these prints spilling over
      into each other. I've only had the issue with complete lines so we'll start
      by only using the mutex when printing more than one line.
      Signed-off-by: 's avatarMark Fasheh <mfasheh@suse.de>
      6a9b5d55
  3. 30 Jun, 2015 1 commit
  4. 29 Dec, 2014 1 commit
  5. 28 Dec, 2014 1 commit
  6. 23 Dec, 2014 1 commit
  7. 09 Dec, 2014 1 commit
    • Mark Fasheh's avatar
      Add option to choose hash type used. · 4f905264
      Mark Fasheh authored
      This adds an option to duperemove (and csum-test), '--hash=' which allows
      the user to pick which algorithm is used for hashing blocks.
      
      Internally we make a hash_module structure which holds function pointers to
      the various hashing operations as well pointers to friendly and internal
      names. The init_hash() function is changed to take a string and will choose
      the module structure whose hash name matches that string.
      
      Aside from defining a module structure, the changes to each hash module c
      file are minimal - renaming functions and variables so we don't clash.
      Signed-off-by: 's avatarMark Fasheh <mfasheh@suse.de>
      4f905264
  8. 17 Mar, 2014 1 commit
  9. 18 Apr, 2013 1 commit
  10. 16 Apr, 2013 1 commit