Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Feb 22, 2015
  1. libhammer.3: Fix unknown reference.

    Sascha Wildner authored
Commits on Feb 19, 2015
  1. Antonio Huete Jimenez
  2. Antonio Huete Jimenez

    libhammer - Add missing manual pages

    tuxillo authored
    - Adapt the info one for the recent changes.
    - Remove old manpages via upgrade.
  3. Antonio Huete Jimenez

    libhammer - Add an overlooked function that releases snaps

    tuxillo authored
    - Add a function to release resources allocated for libhammer_pfs_get_snapshots.
    - Release snapshot resources when releasing the fsinfo struct.
Commits on Feb 18, 2015
  1. Antonio Huete Jimenez

    libhammer - Preparation for snapshot handling & fixes

    tuxillo authored
    Trivial changes:
    	- Function renaming to actually match what they are
    	  describing.
    	- Clearer variable naming.
    
    Additions:
    	- Structures to hold snapshot data.
    	- Functions to retrieve snapshots from metadata for PFSes.
    	- A file for version compatibility functions.
    	- A function to return the canonical access path of a
    	  PFS which is suitable for opening.
    	- Wrappers to operate per PFS snapshot list.
    
    Changes & fixes:
    	- Use the new functions to gather all snaps of a PFS.
    	- Adapt hammer program for the changes.
    	- Check before free'ing in libhammer_free_fsinfo()
    	- Display the number of snapshots for unmounted PFSes.
    
    Still missing:
    	- Manpages changes.
Commits on Feb 7, 2015
  1. Antonio Huete Jimenez

    lib/libhammer: don't hide sysctlbyname(3) results

    Tomohiro Kusumi authored tuxillo committed
    This patch makes libhammer_btree_stats() and libhammer_io_stats() check
    return value of each sysctlbyname(3) instead of only returning the last
    result.
    
    Closes: #2779
  2. Antonio Huete Jimenez

    libhammer - Fix a fd leak on the previous commit

    tuxillo authored
    - Also check fd just in case it's invalid
    
    Submitted-by: tkusumi (with modification)
    Closes: #2784
Commits on Feb 5, 2015
  1. Antonio Huete Jimenez

    libhammer - Change the way PFS mounts are detected

    tuxillo authored
    - libhammer_find_pfs_mount() now takes a single argument which
      is the unique_uuid used for the search.
    - This solves a problem when passing the path of a PFS to commands
      like 'hammer info' which mistakenly took the argument as the PFS#0.
    - Adjust manpage to reflect current status.
Commits on Jan 27, 2015
  1. Antonio Huete Jimenez

    lib/libhammer: cleanups

    Tomohiro Kusumi authored tuxillo committed
    Using pointer dereference instead of several mntbuf[curmount].f_xxx
    makes code clear and also makes lines fit within 80 characters.
  2. Antonio Huete Jimenez

    lib/libhammer: cleanups

    Tomohiro Kusumi authored tuxillo committed
    This patch has some minor cleanups of libhammer.
    
    hunk1: Remove parentheses
    hunk2: Remove parentheses
    hunk3: Remove forward declaration of obsolete function.
           find_pfs_mount() was re-implemented as a part of libhammer
           and commit 4f09fea replaces it with libhammer version.
  3. Antonio Huete Jimenez

    lib/libhammer: fix minor memory leaks

    Tomohiro Kusumi authored tuxillo committed
    This patch fixes minor memory leaks of libhammer.
    
    hunk1: This isn't necessary since it never gets here.
           _libhammer_malloc() exit(1) if it failed to calloc().
    hunk2: Add missing close(fd).
    hunk3: Add missing free(mntbuf).
Commits on Jun 9, 2014
  1. hammer - Fix wild free() in 'hammer info' path

    Matthew Dillon authored
    * Fix a wild free that could cause the program to assert.
    
    Reported-by: shamaz
Commits on Apr 13, 2014
  1. Dynamic root: Move required libraries to /lib

    François Tigeot authored
    * Add /lib to the standard run-time loader library search path
    
    * Ensure libxxx.so symbolic links stay in /usr/lib, the build
      tools won't pick them up in /lib
Commits on Dec 19, 2013
  1. Antonio Huete Jimenez

    libhammer - Gather additional information about PFSes.

    tuxillo authored
    * Add transaction information to libhammer_pfsinfo.
    * Add reserved field for future expansion.
    
    Note that the TID numbers gathered can become outdated for slave PFSes
    that are the target of mirroring operations.
Commits on Oct 23, 2013
Commits on Oct 7, 2013
  1. Antonio Huete Jimenez

    libhammer - Make use of the HAMMERIOC_PFS_ITERATE ioctl.

    tuxillo authored
    * With this change 'info' directive no longer issues 65535 ioctl
      calls to retrieve the information of all PFSes.
Commits on Sep 18, 2013
  1. libhammer_stats.3: Fix typo.

    Sascha Wildner authored
Commits on Sep 9, 2013
  1. Antonio Huete Jimenez
  2. Antonio Huete Jimenez
Commits on Sep 7, 2013
  1. Antonio Huete Jimenez

    libhammer - Fix another memory leak.

    tuxillo authored
    * Free a pointer when allocated by asprintf()
    
    Spotted-by: swildner via cppcheck
  2. Antonio Huete Jimenez

    libhammer - Use source directory header instead of the system one.

    tuxillo authored
    * Instead of using libhammer.h from /usr/include, use the one that's
      in the source directory to build the library itself.
  3. Antonio Huete Jimenez

    libhammer - Few fixes to libhammer_get_volinfo()

    tuxillo authored
    * Fix a couple memory leaks.
    * Reword some comments.
    * While here fix info.c file width to 80 columns.
Commits on Nov 5, 2011
  1. Antonio Huete Jimenez
  2. Antonio Huete Jimenez
Commits on Oct 29, 2011
  1. Antonio Huete Jimenez
Commits on Oct 25, 2011
  1. Antonio Huete Jimenez

    libhammer - HAMMER filesystem library.

    tuxillo authored
    Initial work to bring a library to help operating
    HAMMER filesystems from userland.
    
    It's barebones as of now, only "info" directive is
    adapted, progressively the rest of the directives
    will be migrated
    
    Help-from: @swildner, @sjg
Something went wrong with that request. Please try again.