History log of /dragonfly/lib/libhammer/libhammer.h (Results 1 – 13 of 13)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: v6.2.1, v6.2.0, v6.3.0, v6.0.1, v6.0.0, v6.0.0rc1, v6.1.0, v5.8.3, v5.8.2, v5.8.1, v5.8.0, v5.9.0, v5.8.0rc1, v5.6.3, v5.6.2, v5.6.1, v5.6.0, v5.6.0rc1, v5.7.0, v5.4.3, v5.4.2, v5.4.1, v5.4.0, v5.5.0, v5.4.0rc1, v5.2.2, v5.2.1, v5.2.0, v5.3.0, v5.2.0rc, v5.0.2, v5.0.1, v5.0.0, v5.0.0rc2, v5.1.0, v5.0.0rc1, v4.8.1, v4.8.0, v4.6.2, v4.9.0, v4.8.0rc, v4.6.1, v4.6.0, v4.6.0rc2, v4.6.0rc, v4.7.0, v4.4.3
# 7aee7a8b 31-Mar-2016 Tomohiro Kusumi <kusumi.tomohiro@gmail.com>

sbin/hammer: Make hammer info print rootvol

The existence of "root volume" in HAMMER is mentioned in
error messages and dmesg as well as hammer(8) manpage,
but the problem is that no command really

sbin/hammer: Make hammer info print rootvol

The existence of "root volume" in HAMMER is mentioned in
error messages and dmesg as well as hammer(8) manpage,
but the problem is that no command really tells you which
one is the root volume. This is too obvious if you have
looked at the source, but no idea if otherwise.

Currently the only one explicitly tells you seems to be
a printf in newfs_hammer added by dae8f186 in 2015.

This commit adds hammer info a printf for root volume #,
which is still not clear enough since it's just a number,
but not a block device path.

show more ...


Revision tags: v4.4.2, v4.4.1, v4.4.0, v4.5.0, v4.4.0rc, v4.2.4, v4.3.1, v4.2.3, v4.2.1, v4.2.0, v4.0.6, v4.3.0, v4.2.0rc
# aa32bba7 26-Mar-2015 Tomohiro Kusumi <kusumi.tomohiro@gmail.com>

lib/libhammer: Remove duplicated and unnecessary macro definitions

- All these macros are already defined in sbin/hammer/*.

- HAMMER_BUF* are macros internally used by hammer userspace
to manage

lib/libhammer: Remove duplicated and unnecessary macro definitions

- All these macros are already defined in sbin/hammer/*.

- HAMMER_BUF* are macros internally used by hammer userspace
to manage hammer's 16KB buffers. Unless buffer management
code is migrated to libhammer, it doesn't make much sense
only to have these macros in library code.

- All the rest of the macros are locally defined and used by
hammer commands. No need to have them in header files.

show more ...


Revision tags: v4.0.5
# 11dccec2 17-Mar-2015 Tomohiro Kusumi <kusumi.tomohiro@gmail.com>

sbin/hammer: Move COLLECT_XXX macros to cmd_blockmap.c

- These macros are magic numbers locally used by checkmap.
Library users don't need to know collects' hash table size.


Revision tags: v4.0.4
# cc96d2fe 19-Feb-2015 Antonio Huete Jimenez <tuxillo@quantumachine.net>

libhammer - Add an overlooked function that releases snaps

- Add a function to release resources allocated for libhammer_pfs_get_snapshots.
- Release snapshot resources when releasing the fsinfo str

libhammer - Add an overlooked function that releases snaps

- Add a function to release resources allocated for libhammer_pfs_get_snapshots.
- Release snapshot resources when releasing the fsinfo struct.

show more ...


# a77d0377 10-Feb-2015 Antonio Huete Jimenez <tuxillo@quantumachine.net>

libhammer - Preparation for snapshot handling & fixes

Trivial changes:
- Function renaming to actually match what they are
describing.
- Clearer variable naming.

Additions:
- Structures to ho

libhammer - Preparation for snapshot handling & fixes

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.

show more ...


# d428efb7 05-Feb-2015 Antonio Huete Jimenez <tuxillo@quantumachine.net>

libhammer - Change the way PFS mounts are detected

- 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 p

libhammer - Change the way PFS mounts are detected

- 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.

show more ...


Revision tags: v4.0.3, v4.0.2, v4.0.1, v4.0.0, v4.0.0rc3, v4.0.0rc2, v4.0.0rc, v4.1.0, v3.8.2, v3.8.1, v3.6.3, v3.8.0, v3.8.0rc2, v3.9.0, v3.8.0rc, v3.6.2, v3.6.1
# 4468f47b 19-Dec-2013 Antonio Huete Jimenez <tuxillo@quantumachine.net>

libhammer - Gather additional information about PFSes.

* Add transaction information to libhammer_pfsinfo.
* Add reserved field for future expansion.

Note that the TID numbers gathered can become o

libhammer - Gather additional information about PFSes.

* 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.

show more ...


Revision tags: v3.6.0, v3.7.1, v3.6.0rc, v3.7.0
# c422eb8a 09-Sep-2013 Antonio Huete Jimenez <tuxillo@quantumachine.net>

libhammer - Add functions to help gather HAMMER statistics.


Revision tags: v3.4.3, v3.4.2, v3.4.0, v3.4.1, v3.4.0rc, v3.5.0, v3.2.2, v3.2.1, v3.2.0, v3.3.0, v3.0.3, v3.0.2, v3.0.1, v3.1.0, v3.0.0
# 86d7f5d3 26-Nov-2011 John Marino <draco@marino.st>

Initial import of binutils 2.22 on the new vendor branch

Future versions of binutils will also reside on this branch rather
than continuing to create new binutils branches for each new version.


# 8ab1d23a 05-Nov-2011 Antonio Huete Jimenez <tuxillo@quantumachine.net>

libhammer - Fix a misplaced #endif for the header guardian.


# 925016b9 29-Oct-2011 Antonio Huete Jimenez <tuxillo@quantumachine.net>

libhammer - inodes field was also overlooked.


# e2fb4261 29-Oct-2011 Antonio Huete Jimenez <tuxillo@quantumachine.net>

libhammer - Include overlooked field freebigblocks.


# cb7575e6 25-Oct-2011 Antonio Huete Jimenez <tuxillo@quantumachine.net>

libhammer - HAMMER filesystem library.

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

libhammer - HAMMER filesystem library.

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

show more ...