#
88cdee70 |
| 11-Apr-2017 |
Tomohiro Kusumi <kusumi.tomohiro@gmail.com> |
sbin/hammer: Add /* not reached */ for usage() variants
that were originally missing. Recommended by dillon@. No diff in sbin/hammer binary when assert(3) is disabled.
|
#
052fd72b |
| 11-Apr-2017 |
Tomohiro Kusumi <kusumi.tomohiro@gmail.com> |
sbin/hammer: Add /* not reached */
that were originally missing. Recommended by dillon@. No diff in sbin/hammer binary when assert(3) is disabled.
|
#
52e2f1b5 |
| 09-Apr-2017 |
Tomohiro Kusumi <kusumi.tomohiro@gmail.com> |
sbin/hammer: Cleanup blocks with a single statement
This commit basically does the same as what Linux kernel's coding style mentions for braces, which is basically the same with BSDs. https://github
sbin/hammer: Cleanup blocks with a single statement
This commit basically does the same as what Linux kernel's coding style mentions for braces, which is basically the same with BSDs. https://github.com/torvalds/linux/blob/master/Documentation/process/coding-style.rst#3-placing-braces-and-spaces
No diff in sbin/hammer/hammer binary when assert(3) is disabled.
show more ...
|
#
78c4be83 |
| 19-Sep-2015 |
Tomohiro Kusumi <kusumi.tomohiro@gmail.com> |
hammer: Print "B-Tree" (conform to hammer specification)
Hammer specification, manpage, comments, etc mostly use "B-Tree" instead of "btree" or "b-tree".
This commit replaces "btree" and "b-tree" s
hammer: Print "B-Tree" (conform to hammer specification)
Hammer specification, manpage, comments, etc mostly use "B-Tree" instead of "btree" or "b-tree".
This commit replaces "btree" and "b-tree" strings that appear in printf() and hammer(8) with "B-Tree", assuming no user or userspace triggers anything by these strings.
show more ...
|
#
5e1e1454 |
| 24-Apr-2015 |
Tomohiro Kusumi <kusumi.tomohiro@gmail.com> |
sys/vfs/hammer: Add -A option to reblock|rebalance all pfs
- -A option makes certain per pfs hammer commands perform on all pfs of the filesystem that the [filesystem] arg belongs to. Currently
sys/vfs/hammer: Add -A option to reblock|rebalance all pfs
- -A option makes certain per pfs hammer commands perform on all pfs of the filesystem that the [filesystem] arg belongs to. Currently hammer reblock and rebalance commands support this. It does nothing to other commands.
- With -A option, above hammer commands use a range of 0 to 0xFFFF for pfs id (upper 16 bits) of the cursor localization. This makes it iterate all pfs in the filesystem.
- Above difference in localization range means btree iteration applies to larger range of nodes in terms of pfs id, since it's been used as a top priority key that works as a localizing factor of pfs within the btree. There is no logical difference other than the range is different. So performing these commands on all pfs is as simple as changing the localization range (unless other keys are involved as additional parameters like hammer prune does).
show more ...
|
#
3550e0f5 |
| 03-Jan-2011 |
Thomas Nikolajsen <thomas@dragonflybsd.org> |
hammer(8) rebalance: change default saturation_percentage a few more places
|
#
953bfaa2 |
| 02-Jan-2011 |
Antonio Huete Jimenez <tuxillo@quantumachine.net> |
hammer(8) - Take in account the saturation level passed to rebalance.
Also change the default saturation level from 75% to 85%.
|
#
f6532f03 |
| 14-Nov-2009 |
Thomas Nikolajsen <thomas@dragonflybsd.org> |
hammer: minor doc update
* SYNOPSIS for -f changed to just '-f blkdevs'
* sync SYNOPSIS & usage()
* s/filesystem/file system/ (was already used in most places)
* add description for show-undo
hammer: minor doc update
* SYNOPSIS for -f changed to just '-f blkdevs'
* sync SYNOPSIS & usage()
* s/filesystem/file system/ (was already used in most places)
* add description for show-undo
* fix a few minor typos
show more ...
|
#
a276dc6b |
| 21-Aug-2009 |
Matthew Dillon <dillon@apollo.backplane.com> |
AMD64 - AUDIT RUN - Fix format strings, size_t, and other issues
|
#
7ddc70d1 |
| 16-Mar-2009 |
Matthew Dillon <dillon@apollo.backplane.com> |
HAMMER VFS - rebalancing, zero unused fields in boundary element
The rebalancer was not zeroing certain unused fields in a newly created boundary element when truncating an existing internal B-Tree
HAMMER VFS - rebalancing, zero unused fields in boundary element
The rebalancer was not zeroing certain unused fields in a newly created boundary element when truncating an existing internal B-Tree node.
While these fields are not used by the filesystem for boundary elements, they are still expected to be zero'd out.
show more ...
|
#
797a0b63 |
| 15-Mar-2009 |
Matthew Dillon <dillon@apollo.backplane.com> |
HAMMER Utility: Change B-Tree, inodes, and dir reblocking params, add rebalance
* The normal cleanup operations now reblock all B-Tree, inode, and directory elements in the normal daily reblock mo
HAMMER Utility: Change B-Tree, inodes, and dir reblocking params, add rebalance
* The normal cleanup operations now reblock all B-Tree, inode, and directory elements in the normal daily reblock mode instead of only the ones in fragmented big-blocks. Bulk data is handled by the 30-day recopy mode.
* Add a new directive 'rebalance' (a future VFS ioctl). This directive will tell the HAMMER VFS to rebalance the B-Tree. HAMMER B-Trees are always balanced by depth but degenerate cases with minimal elements in a node can easily build up. The new directive will rebalance the elements in each B-Tree node.
* The hammer cleanup directive was not reblocking directories. Now it does.
It usually does not take very long to reblock the B-Tree nodes, inodes, or directory elements. Reblocking these unconditionally, instead of just reblocking fragmented allocation areas, keeps the B-Tree in a more optimal layout, though there is still a lack of correlation between inode numbers and directory scan order.
show more ...
|