commit 53076cf07b3bf441378e6d0ec04e119248e0
Author: Tomohiro Kusumi
Date: Sat Jul 25 04:32:00 2015 +0900
sbin/hammer: Cleanup hammer checkmap
Summary of changes:
sbin/hammer/cmd_blockmap.c | 17 +
1 file changed, 9 insertions(+), 8 deletions(-)
http
commit db8d09c1b60b2dfdac4c22840cddfb7b131c9688
Author: Tomohiro Kusumi
Date: Sat Jul 25 04:37:04 2015 +0900
sbin/hammer: Enable AssertOnFailure on -d for hammer show/checkmap
Summary of changes:
sbin/hammer/cache.c| 2 +-
sbin/hammer/cmd_blockmap.c | 2 +-
sbin/hammer
commit fff0110a0b936812fc3f14008be83aa396551ce3
Author: Tomohiro Kusumi
Date: Sun Jul 26 01:01:33 2015 +0900
sbin/hammer: Fix memory allocation for zone statistics
- 2550036 allocates unnecessary amount of memory when the
filesystem consists of >1 volumes and account
commit ab34bb843beff761e7ca1daea5504c90100be9b3
Author: Tomohiro Kusumi
Date: Sun Jul 26 14:59:55 2015 +0900
sbin/hammer: Cleanup zone statistics
- No functional changes, things should have been named this way.
Summary of changes:
sbin/hammer/misc.c | 56
commit 08d797e2bae09396499d01babc8c2ae5e60457ee
Author: Tomohiro Kusumi
Date: Mon Jul 27 01:19:45 2015 +0900
sbin/hammer: Fix hammer show output format
- Sync with other formats.
Summary of changes:
sbin/hammer/cmd_show.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion
commit 92d85f08f37a624fbbbd647f1ec6d5daf5c09c36
Author: Tomohiro Kusumi
Date: Sun Jul 26 17:16:05 2015 +0900
sbin/hammer: Cleanup headers
- Define struct softprune in hammer_util.h just like other
hammer userspace structures are defined here.
Summary of changes:
sbin
commit c461935cc9a3d110ed43ebd769c91338a06f04f9
Author: Tomohiro Kusumi
Date: Mon Jul 27 03:43:10 2015 +0900
sys/vfs/hammer: Keep root node signature on root split
- newfs_hammer sets a signature value for the root btree node
so keep that signature on root node split along
commit bfbd8331c671d576a76d457561a5b87727453a29
Author: Tomohiro Kusumi
Date: Tue Jul 28 01:17:31 2015 +0900
sys/vfs/hammer: Add HAMMER_BTREE_TYPE_NONE
- No functional changes, but just makes things clearer.
- root_btree_{beg|end} has 0 (not used) for btype
commit 180b1058733805886307ace79d16b8e649eb7270
Author: Tomohiro Kusumi
Date: Wed Jul 29 04:58:50 2015 +0900
sbin/hammer: Use HAMMER_BUFSIZE
- Use HAMMER_BUFSIZE insteaf of 16KiB.
Summary of changes:
sbin/hammer/cmd_volume.c | 4 ++--
sbin/newfs_hammer/newfs_hammer.c
commit bcff22106fe938c8ecbd2191ebd1c0b5d2c37f14
Author: Tomohiro Kusumi
Date: Thu Jul 30 02:54:36 2015 +0900
sys/vfs/hammer: Add cond to kprintf("\n"); on volume-del
Should print \n only when count>=5 otherwise it generates
a blank line in dmesg.
Summary of chan
commit 813693fcff725f3b5cd53b336a14bdf6ab3d16bf
Author: Tomohiro Kusumi
Date: Thu Jul 30 20:16:12 2015 +0900
sys/vfs/hammer: Fix comment on localization
Add missing tid.
Summary of changes:
sys/vfs/hammer/hammer_btree.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions
commit 331432f3a33b9b0ebca19311006c9e02615d1240
Author: Tomohiro Kusumi
Date: Sun Aug 2 14:38:37 2015 +0900
sbin/mount_hammer: Fix error messages
It's possible that open(2) and signature check do not fail
but mount(2) still fails possibly because of fs's bug.
commit 896689698e9f9ee1ebb955a4dab38c5cc60b9990
Author: Tomohiro Kusumi
Date: Thu Jul 30 02:09:34 2015 +0900
sys/vfs/hammer: Add test_free_callback()
Add test_free_callback() and remove dry run code from
free_callback() which has been used for both testing
and actual
commit 96c170df2bc8a81f46f726e2c432cb12020c8700
Author: Tomohiro Kusumi
Date: Sun Aug 2 14:32:15 2015 +0900
sbin/mount_hammer: Fix upper limit of volume num
(ac - 1) is for the command arg which is in blkdevs format.
info.nvolumes is the number of volumes after dissecting
commit e333f527d47ee244914acd050921d17c6bd30a39
Author: Tomohiro Kusumi
Date: Sat Aug 1 06:03:27 2015 +0900
sys/vfs/hammer: Minor optimization on layer1/2 iteration
Layer1 and layer2 metadata are clustered in each big-block,
so use different buffers for layer1 and layer2 to
commit 5c82892ac2f3f18ac27927308e61d30949d2bcbc
Author: Tomohiro Kusumi
Date: Thu Jul 30 04:13:56 2015 +0900
sys/vfs/hammer: Fix wrong function name in kprintf
Summary of changes:
sys/vfs/hammer/hammer_volume.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
http
commit 5f1a07b6a288388a11300fc7d75b8d58096b479c
Author: Tomohiro Kusumi
Date: Sun Aug 2 15:41:27 2015 +0900
sys/vfs/hammer: Fix potential wrong error message
It's not always because of volume not empty.
Summary of changes:
sys/vfs/hammer/hammer_volume.c | 6 +-
1
commit a09c350254c21194a267c066033b923e4e897366
Author: Tomohiro Kusumi
Date: Wed Aug 5 23:48:38 2015 +0900
sys/vfs/hammer: Add missing assertion
_hammer_bread() and _hammer_bnew() should be the same
except for the isnew value.
Summary of changes:
sys/vfs/hammer
commit 677e7a0554b536b63106e1bd19f1e81a70626894
Author: Tomohiro Kusumi
Date: Sat Aug 8 00:10:44 2015 +0900
sys/vfs/hammer: Cleanup volume format callback
Apply the same code logic as volume free callback.
No need to wait for ready-to-update-layer1-case to increment
commit 991d87e426f93bf68acf8541a51f9e6fb13517fe
Author: Tomohiro Kusumi
Date: Thu Aug 6 02:46:58 2015 +0900
sys/vfs/hammer: Fix wrong big-block accounting
hammer volume-add|del should not count zone4 big-blocks as
a part of vol0_stat_bigblocks. newfs_hammer excludes zone4
commit e39a061e84808edf2a4d2bd9f2cf202228ba69de
Author: Tomohiro Kusumi
Date: Sat Aug 8 01:03:37 2015 +0900
sbin/hammer: Optimize freemap initialization
Bring in the way hammer_iterate_l1l2_entries() initializes
layer1/2 to initialize_freemap(). The layer1 crc needs to
be
commit ea4925421532ec6fd6b94eb6f21f5f015423ff2f
Author: Tomohiro Kusumi
Date: Tue Aug 4 19:32:41 2015 +0900
sys/vfs/hammer: Get volume lock on volume-list
volume-add|del could be ongoing.
Summary of changes:
sys/vfs/hammer/hammer_volume.c | 9 -
1 file changed, 8
commit 1e94cea68de46fe62ada9e33cbf25441c2329200
Author: Tomohiro Kusumi
Date: Tue Aug 4 05:39:14 2015 +0900
sys/vfs/hammer: Don't reblock when volume to delete is empty
hammer_ioc_volume_del() needs to reblock filesystem only
when the volume hammer volume-del is tryi
commit 88cecadce57d10d3ec13086fb51e5f812b2526d2
Author: Tomohiro Kusumi
Date: Tue Aug 4 19:06:03 2015 +0900
sys/vfs/hammer: Add missing comments
Summary of changes:
sys/vfs/hammer/hammer.h | 2 ++
1 file changed, 2 insertions(+)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff
commit 046789c4d11059356fc71836ddb86bc1821ce061
Author: Tomohiro Kusumi
Date: Tue Aug 4 19:29:14 2015 +0900
sys/vfs/hammer: Make use of volume bitmap
Make use of macros for volume bitmaps that was added in the
previous commit to fix mount issue.
With
commit 6f3076aff64b3be9708413a7ac6363f653984bfc
Author: Tomohiro Kusumi
Date: Fri Aug 7 04:20:36 2015 +0900
sbin/hammer: Fix inconsistent boot|mem area size
Bring in the code that initializes BootAreaSize and MemAreaSize
from newfs_hammer to hammer volume-add. hammer volume
commit 5185d7e14350cf040c5731edcbe186cf1216a7b3
Author: Tomohiro Kusumi
Date: Tue Aug 4 05:46:52 2015 +0900
sys/vfs/hammer: Add hammer_test_free_freemap()
Add a wrapper for l1l2 iteration via test callback
just like other l1l2 iterations do.
Summary of changes:
sys/vfs
commit 0be83d846afe96827714c1b56062f99a1d346bce
Author: Tomohiro Kusumi
Date: Sat Aug 8 03:40:16 2015 +0900
sys/vfs/hammer: kprintf invalid header
volume-del'eted volume will show 8 0x00s.
Summary of changes:
sys/vfs/hammer/hammer_ondisk.c | 7 +++
1 file chang
commit 3d0e4c864ef2d1311ae76f046e5586c2d770bd35
Author: Tomohiro Kusumi
Date: Wed Aug 5 23:51:37 2015 +0900
sys/vfs/hammer: Add error handling
Summary of changes:
sys/vfs/hammer/hammer_blockmap.c | 9 -
1 file changed, 8 insertions(+), 1 deletion(-)
http
commit 2660aa2199258d0e51207f4b66fefd54afb4c1c9
Author: Tomohiro Kusumi
Date: Mon Aug 3 20:00:59 2015 +0900
sbin/hammer: Make hammer blockmap print all blockmap offsets on -v
Summary of changes:
sbin/hammer/cmd_blockmap.c | 21 +++--
1 file changed, 15 insertions(+), 6
commit 0871ec5cd713b161a324e9a8e5f22cabe24ffaf7
Author: Tomohiro Kusumi
Date: Wed Aug 5 05:55:12 2015 +0900
sys/vfs/hammer: Don't repeat layer1 blockmap check for no reason
When blockmap allocation/reservation finds no more space in
the current layer1, it jumps up to the
commit 504ef4459bebce549155195508e2548b631b327e
Author: Tomohiro Kusumi
Date: Sun Aug 9 05:17:02 2015 +0900
sbin/hammer: Make hammer blockmap print crc on -v
Summary of changes:
sbin/hammer/cmd_blockmap.c | 8 +++-
1 file changed, 7 insertions(+), 1 deletion(-)
http
commit 78249d7f7c218296742a9f9c46fa094704306a4d
Author: Tomohiro Kusumi
Date: Mon Aug 3 20:01:48 2015 +0900
sys/vfs/hammer: Fix mount issue after volume-del
When a volume other than the one with the max volume number
is removed from filesystem by volume-del, volume numbers
commit 2467c32bedb1ff861d86d17ab5e4cf131151171f
Author: Tomohiro Kusumi
Date: Sat Aug 8 05:01:35 2015 +0900
sys/vfs/hammer: Cleanups
No functional changes. Using layer1-size-aligned upper
limit makes better sense although it results the same.
Bootstrap code in userspace
commit bc996e65ac8d62f57889adc4fa8d028bcbc2c05a
Author: Tomohiro Kusumi
Date: Sun Aug 9 11:34:15 2015 +0900
sys/vfs/hammer: Add (missing)debug print for data reblock
Add debug kprintf for data reblock since leaf/internal
node have it in the same format as this.
Also
commit 16ed94f05bc8aeeab14bda9f83494e5b432fdb97
Author: Tomohiro Kusumi
Date: Sun Aug 9 12:29:12 2015 +0900
sys/vfs/hammer: Fix volume-del issue with >1 pfs
Since 5e1e1454 hammer reblock supports a new option that
can reblock all pfses within filesystem.
ham
commit cdabf05377188faef46ecd3c9aa65c9f411c32de
Author: Tomohiro Kusumi
Date: Mon Aug 17 19:58:14 2015 +0900
sys/vfs/hammer: Fix comments
These functions return 1 or 0, but not TRUE or FALSE macros.
(there are also existing comments that use 1/0)
Summary of changes:
sys/vfs
commit 721f311056acc1d8297ce0283ec9eca746158b68
Author: Tomohiro Kusumi
Date: Mon Aug 10 03:16:24 2015 +0900
sys/vfs/hammer: Fix error check on mount
Since it already has failed: that does the same thing,
goto failed; on each error case makes code more clear.
Remove
commit c302e84437f9ece78d5cdc8ba4ddaa047d58575b
Author: Tomohiro Kusumi
Date: Mon Aug 10 04:35:41 2015 +0900
sys/vfs/hammer: Avoid volume# inconsistency on mount
hammer_vfs_mount() should check and compare # of volumes
to mount (# of volumes in mount_hammer arg in blkdevs
commit 4af0f40534b665b5aeb544c2006e7b1c5a2126d6
Author: Tomohiro Kusumi
Date: Mon Aug 10 06:07:15 2015 +0900
sys/vfs/hammer: Fix inconsistent function prototypes
Should use either of the type name or typedef'd name
for both function prototype and the function i
commit cb9ee493e8270dfbcd186292436b4f45c1a3a5e4
Author: Tomohiro Kusumi
Date: Sun Aug 16 20:30:29 2015 +0900
sys/vfs/hammer: Cleanup volume-add|del ioctl [1/3]
This commit is 1/3 of a series of commits that extract
common procedures on updating volumes header into a function
commit 4a8dc36278d79043abd59dfdc04ad37031c9dd4c
Author: Tomohiro Kusumi
Date: Sun Aug 16 22:28:48 2015 +0900
sys/vfs/hammer: Cleanup volume-add|del ioctl [2/3]
This commit is 2/3 of a series of commits that extract
common procedures on updating volumes header into a function
commit 653fa4cdc01b9549ebb3e609c02eeeb9c363a1d7
Author: Tomohiro Kusumi
Date: Fri Aug 14 12:12:59 2015 +0900
hammer: Cleanups
Unfold lines (that aren't intentionally separated
into different lines) that fit in 80 chars.
Fold lines that are way too long.
Summa
commit f819215c3c5604836ea5a73c35ed334df2427798
Author: Tomohiro Kusumi
Date: Wed Aug 12 06:00:52 2015 +0900
sbin/hammer: Add init_boot|mem_area_size()
Integrate copy-pasted code by 6f3076af into functions.
Summary of changes:
sbin/hammer/cmd_volume.c | 48
commit cc51e58d40449767d7f787d2bbc5d9a75450f5d8
Author: Tomohiro Kusumi
Date: Mon Aug 17 08:26:35 2015 +0900
sys/vfs/hammer: Cleanups
Remaining minor ones.
Summary of changes:
sys/vfs/hammer/hammer_volume.c | 27 ++-
1 file changed, 10 insertions(+), 17
commit deabdbfb46b4b6d2e766d83ec8fb97958fedc38b
Author: Tomohiro Kusumi
Date: Sun Aug 16 14:05:55 2015 +0900
sys/vfs/hammer: Remove duplicated vfs code
Much of the code in sys/vfs/hammer/hammer_volume.c is taken
from the existing code, and some of them could be integrated
commit 894b86ecaff811990d1438b86c9bf2b871b9043e
Author: Tomohiro Kusumi
Date: Sun Aug 16 22:31:54 2015 +0900
sys/vfs/hammer: Cleanup volume-add|del ioctl [3/3]
This commit is 3/3 of a series of commits that extract
common procedures on updating volumes header into a function
commit 2bc4c6de1caac7573288103af865261c71294010
Author: Tomohiro Kusumi
Date: Sat Aug 15 16:54:36 2015 +0900
sbin/hammer: Fix hammer show output format
Sync with formats of other fields.
Summary of changes:
sbin/hammer/cmd_show.c | 4 ++--
1 file changed, 2 insertions(+), 2
commit 542b88c2de0adf8b6d728cc62972cdac21c57e29
Author: Tomohiro Kusumi
Date: Mon Aug 10 19:27:07 2015 +0900
sys/vfs/hammer: Fix wrong function name in kprintf
It used to be "hammer_mountroot" according to 104cb849.
"hammer_mount" still isn't nam
commit b45803e36700b8126fbc3863d4292d3fccaa7203
Author: Tomohiro Kusumi
Date: Wed Aug 12 19:36:39 2015 +0900
hammer: Conform to style(9)
Also
* Remove header includes that are already included by
common hammer headers (of either userspace or kernel).
* Add "#in
commit 14bdad8b1ff14b993ee98212147a88a2e3539098
Author: Tomohiro Kusumi
Date: Wed Aug 12 08:22:46 2015 +0900
sys/vfs/ufs: Remove unused ioctl call and variables
Similar to 30b14d35.
(Also see r98542 and r104697 of FreeBSD)
Summary of changes:
sys/vfs/ufs/ffs_vfsops.c | 15
commit 3aef25e813fe97a0a1a777c52ca7fe2c62c90ff7
Author: Tomohiro Kusumi
Date: Wed Aug 12 08:24:22 2015 +0900
sys/gnu/vfs/ext2fs: Remove unused ioctl call and variables
In addition to 30b14d35.
(Also see r98542 and r104697 of FreeBSD)
Summary of changes:
sys/gnu/vfs/ext2fs
commit e682c3854a60ddc3023e1d2bebabeb7cbf279085
Author: Tomohiro Kusumi
Date: Tue Aug 11 19:24:22 2015 +0900
sys/vfs/hammer: Cleanup volume# iteration
if (volume == NULL && error == ENOENT) {...
can be removed since now that vol_no must exist.
If error==EN
commit 9a6201233509000378b692d72975b44364b7eef2
Author: Tomohiro Kusumi
Date: Mon Aug 10 01:46:59 2015 +0900
hammer: Fix unusual line break style
Summary of changes:
sbin/hammer/cmd_blockmap.c | 3 +--
sbin/hammer/cmd_cleanup.c| 3 +--
sbin/hammer/cmd_mirror.c | 6
commit 3c1f394f81488b3d40feb88571b6f0319faf56a8
Author: Tomohiro Kusumi
Date: Tue Aug 18 20:08:21 2015 +0900
sys/vfs/ufs: Fix typo in variable name
Summary of changes:
sys/vfs/ufs/ufs_vfsops.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
http://gitweb.dragonflybsd.org
commit c54975d55ebb13f3c51c0eb21f91dd43ecbfbd33
Author: Tomohiro Kusumi
Date: Tue Aug 18 19:06:59 2015 +0900
sys/vfs/hammer: Use either HAMMER: or hammer:
Should be either of the following.
kprintf("HAMMER: ...\n");
kprintf("hammer: ...\n");
commit 0b818f293c44a0b45af4fa6aaae7a6b80baafa3d
Author: Tomohiro Kusumi
Date: Tue Aug 18 19:11:04 2015 +0900
sys/vfs/hammer: Check ronly when overwriting volume header
Check readonly mount before overwriting volume header
with non-NULL data on load/unload.
(hammer
commit 1bcc92995aeb57aa1f0de822a4d584645a2db2b5
Author: Tomohiro Kusumi
Date: Tue Aug 18 20:32:28 2015 +0900
sys/vfs/hammer: Remove obsolete code and comments
from very early stage of hammer development.
Summary of changes:
sys/vfs/hammer/hammer.h| 1 -
sys/vfs/hammer
commit 783fb17086efccfde2542435b9b2162fb3a48550
Author: Tomohiro Kusumi
Date: Tue Aug 18 20:25:04 2015 +0900
sys/vfs/hammer: Use HAMMER_OBJID_ROOT for root inode#
instead of hardcoded 1.
Summary of changes:
sys/vfs/hammer/hammer_vfsops.c | 4 ++--
1 file changed, 2 insertions
commit dbd78d6a32d4a8d6699808d735b13175d9d417b0
Author: Tomohiro Kusumi
Date: Wed Aug 19 19:05:09 2015 +0900
sys/vfs/hammer: Fix wrong function name in kprintf
Use the right name.
Allocating tid isn't always start of transaction.
Summary of changes:
sys/vfs/h
commit 4eec2c55b32098a44caf92c7f8cb41096a15
Author: Tomohiro Kusumi
Date: Wed Aug 19 21:03:13 2015 +0900
sbin/newfs_hammer: Fix minor memory leak
vol->fd is supposed to be already opened by setup_volume()
by the time check_volume(vol) is called.
Summary of changes:
s
commit 2150c2aabc03ab39e553690ee7780cb85de489ae
Author: Tomohiro Kusumi
Date: Wed Aug 19 23:58:05 2015 +0900
sys/vfs/hammer: Minor fix on volume format on volume-add
It's better to just copy volume relative offset from
the existing root volume than having the magic n
commit 8bae937e4f72c493411d3172275ab7d45f6a87da
Author: Tomohiro Kusumi
Date: Tue Aug 18 22:08:05 2015 +0900
sys/vfs/hammer: Add hammer_flush_dirty()
Summary of changes:
sys/vfs/hammer/hammer.h | 1 +
sys/vfs/hammer/hammer_flusher.c | 28
sys/vfs
commit ff8644cb8ae2bc492a6846f6d3fff31f9ffedcb4
Author: Tomohiro Kusumi
Date: Wed Aug 19 21:31:40 2015 +0900
sbin/hammer: Merge check_volume()
There are two check_volume() that basically do the same.
The one in sbin/hammer/cmd_volume.c is copied from newfs_hammer.
Merge
commit 3ced8577304fc3265633851c1a06443da67a04f6
Author: Tomohiro Kusumi
Date: Sat Aug 22 13:01:08 2015 +0900
sbin/hammer: Print total bytes of reblocked nodes
just like it shows both "data elements" and "data bytes"
in the next two lines.
&quo
commit 4dac77b248d4c62e32c036bec94a2216ad71e9b3
Author: Tomohiro Kusumi
Date: Thu Aug 20 19:22:42 2015 +0900
sbin/hammer: Cleanup pwrite(2) wrapper
Just make writehammerbuf() return 0 or -1 instead of void,
just like readhammerbuf() returns 0 or -1.
Summary of changes:
sbin
commit 6291ccf877a810d6bc24ab8da018e52075cb02f4
Author: Tomohiro Kusumi
Date: Thu Aug 20 19:22:06 2015 +0900
sbin/hammer: Cleanup hammer show
Also change "=%d" to "=B%d" on error to clearly distinct
from non-error case "=%d%%".
'B
commit 86872a2a3e27f05d25085218854f44daa64b6171
Author: Tomohiro Kusumi
Date: Thu Aug 20 19:55:25 2015 +0900
sbin/hammer: Move two blockmap functions to hammer/blockmap.c
from hammer/ondisk.c.
See sys/vfs/hammer/hammer_blockmap.c for details.
alloc_blockmap() should
commit dae8f18602e68e4dd2d96ff21cf7447faf0c10c7
Author: Tomohiro Kusumi
Date: Thu Aug 20 01:13:48 2015 +0900
sbin/newfs_hammer: Explicitly tell which volume is root volume
hammer volume-del says "Cannot remove root-volume" if one
tries to remove the root volume,
commit 4af7f53747c5cfc504b9ec89242b7a195fbfb933
Author: Tomohiro Kusumi
Date: Thu Aug 20 23:46:56 2015 +0900
sys/vfs/hammer: Adjust hammer_debug_general
Change hammer_debug_general in hammer_blockmap_getfree()
to 0x4000 which is the same value as those in
sys/vfs/hammer
commit 26748b87a409b0fc2362f8ba12f5e78e6abe28d9
Author: Tomohiro Kusumi
Date: Sat Aug 22 16:59:11 2015 +0900
sys/vfs/hammer: Add hammer_move_node()
Procedures to move internal and leaf node are basically the same.
Also sync some comments between internal and leaf
commit ff2ee76c43209cda267526f3b460f119e6d6070a
Author: Tomohiro Kusumi
Date: Fri Aug 21 21:12:06 2015 +0900
sys/vfs/hammer: Don't repeat layer1 blockmap check of volume-to-remove
hammer's blockmap allocator can simply skip the whole volume
without going through u
commit bcffb64741cf2ddc5bfe06950d5093977925cf5a
Author: Tomohiro Kusumi
Date: Fri Aug 21 21:13:05 2015 +0900
sys/vfs/hammer: Remove unnecessary error check
error is always ==0 at this point.
Summary of changes:
sys/vfs/hammer/hammer_reblock.c | 2 --
1 file changed, 2 deletions
commit 8b3db9490844e0298ec222baa52dfc13d6d9ad51
Author: Tomohiro Kusumi
Date: Sat Aug 22 12:52:34 2015 +0900
sys/vfs/hammer: Change obsolete hammer_ioc_reblock fields to reserved
record_count and record_moves fields in
hammer_ioc_reblock are not used and not necessary
commit 7ef2d7b30fef99b5d4821a94f0ccc129e03af494
Author: Tomohiro Kusumi
Date: Fri Aug 21 21:13:40 2015 +0900
sys/vfs/hammer: Don't try to reblock everything on volume-del
Add volume# option to reblock ioctl and use that on hammer
volume-del instead of trying to reblock
commit 525fa6bb62cab42073f1e11af186cf44b96a3034
Author: Tomohiro Kusumi
Date: Sun Aug 23 14:49:33 2015 +0900
sys/vfs/hammer: Minor cleanups
Nothing changes, but this probably has better readability
(and also better for grep) as it doesn't make code looks
like it
commit ebc5d79e7f1bbe241fa96ec0fc3b61c1658b7ed5
Author: Tomohiro Kusumi
Date: Sun Aug 23 20:53:50 2015 +0900
sys/vfs/hammer: Don't fail to downgrade cursor
7ef2d7b should have placed end: before
hammer_cursor_downgrade(cursor);.
If hammer volume-del starts to re
commit d34bdd3119f4fcbc439c45acc6b7bc6346479b32
Author: Tomohiro Kusumi
Date: Sun Aug 23 20:12:49 2015 +0900
sys/vfs/hammer: Fix wrong comment
It doesn't return EDEADLK.
Summary of changes:
sys/vfs/hammer/hammer_cursor.c | 3 +--
1 file changed, 1 insertion(+), 2 dele
commit a6af8eae0d572eee3ae44eeb3caab9bf3035020d
Author: Tomohiro Kusumi
Date: Sun Aug 23 19:53:33 2015 +0900
sys/vfs/hammer: Fix possible panic with vfs.hammer.debug_general=0x4000
bc996e6 needed to check NULL-elm case for node reblock
when (vfs.hammer.debug_general & 0x
commit 91ad3f6fe14cda22f1976e3822521b52ce03c669
Author: Tomohiro Kusumi
Date: Fri Aug 28 00:16:02 2015 +0900
sbin/hammer: Avoid volume# inconsistency in blkdevs arg
hammer commands that take blkdevs format arg (e.g. blockmap,
checkmap, show, etc) should check if # of volumes
commit ef5c9cdcbbac26d13326d9eafc97e6904b8229d0
Author: Tomohiro Kusumi
Date: Mon Aug 24 19:36:10 2015 +0900
sbin/hammer: Print bad btype on hammer show
A leaf node can only have records for its children.
Summary of changes:
sbin/hammer/cmd_show.c | 4
1 file changed, 4
commit 3b69269ff3cc07bd19a27e25a50227ef8ebbcb86
Author: Tomohiro Kusumi
Date: Sun Aug 23 23:22:57 2015 +0900
sys/vfs/hammer: Remove unused (and never used) macro
842e7a7 added HAMMER_PFSM_DELETED but no one has ever used it.
(HAMMER_PFSD_DELETED also exists and this one is
commit a17eeab0da8d65a37f139642b91e2fede4021048
Author: Tomohiro Kusumi
Date: Mon Aug 24 01:52:30 2015 +0900
sys/vfs/hammer: Simplify hammer_print_btree_elm()
Given that the purpose of hammer_print_btree_elm()
is to print a node elm info that points to a node
(but not a
commit 2483e5ac42137f987fd5a915657522fe49f7d624
Author: Tomohiro Kusumi
Date: Mon Aug 24 02:04:00 2015 +0900
sys/vfs/hammer: Fix wrong node type in switch/case
A node type is either internal or leaf (or deleted which
is originally internal or leaf), but not record.
A
commit fca68e7b013798665632ab8069721de27c137a95
Author: Tomohiro Kusumi
Date: Mon Aug 24 22:31:41 2015 +0900
sbin/hammer: Cleanup localization initialization on reblock
and also adds a missing pattern (DATA | DIRS)
although there isn't a hammer reblock-data-dirs co
commit 0c4c331aa1a94a41520f5f6d0b2d6df628510acb
Author: Tomohiro Kusumi
Date: Mon Aug 24 19:49:34 2015 +0900
sbin/hammer: Use HAMMER_IOC_DO_FLAGS
rather than -1 since it's defined.
Summary of changes:
sbin/hammer/hammer.c | 2 +-
1 file changed, 1 insertion(+), 1 del
commit c3378ec7b1023e8a510ab3435c7134c1e9e9d6ff
Author: Tomohiro Kusumi
Date: Tue Aug 25 03:50:49 2015 +0900
sys/vfs/hammer: Add hammer_elm_btype()
Considered useful to get rid of (cond ? ascii : '?')
that exists only to print '?' for non-ascii error cases
commit 60b4e24f1c6a82b2cf6d334da0d20894909786a2
Author: Tomohiro Kusumi
Date: Mon Aug 24 03:37:30 2015 +0900
sys/vfs/hammer: Fold too long lines
Summary of changes:
sys/vfs/hammer/hammer_cursor.c | 9 +++--
1 file changed, 7 insertions(+), 2 deletions(-)
http
commit c1789a39a435bb7069c3ab17dbd7213950cfced2
Author: Tomohiro Kusumi
Date: Sat Aug 29 16:11:12 2015 +0900
sys/vfs/hammer: Properly kprintf 32bits localization value
It should be %08x to fully show pfs# and type.
Summary of changes:
sys/vfs/hammer/hammer_btree.c | 2 +-
1
commit 8598fe3e017fe6fd9e6862fc04fbe610bc6d8653
Author: Tomohiro Kusumi
Date: Sun Aug 30 16:07:20 2015 +0900
sbin/hammer: Fix boundary test on hammer show [1/3]
This commit actually doesn't fix anything, but just to make
get_elm_flags() take elm index instead of
commit 0c37fec9d07902ddf88001b5d04fc883be4f4b48
Author: Tomohiro Kusumi
Date: Tue Aug 25 05:01:42 2015 +0900
sys/vfs/hammer: Remove obsolete macro HAMMER_BLOCKMAP_FREE
This macro is no longer used and not necessary.
HAMMER_BLOCKMAP_FREE was once used to initialize layer1
commit fe4fc0c0a0d86fca3c523459751595632b3c2eeb
Author: Tomohiro Kusumi
Date: Wed Aug 26 00:30:37 2015 +0900
sys/vfs/hammer: Cleanup debug kprintfs for cursor/elm
Most of the kprintfs in sys/vfs/hammer/hammer_btree.c
that are used only when vfs.hammer.debug_btree is set
commit 4a08dcf42e5a842012d3b7917c49fc05a9d047cf
Author: Tomohiro Kusumi
Date: Sat Aug 29 20:40:34 2015 +0900
sbin/hammer: Make hammer blockmap|checkmap|show print # of 'B' on -v
similar to the way hammer checkmap prints # of errors,
and some refactoring around
commit 3a4b67050c9f963a964b336fc1eba94993842717
Author: Tomohiro Kusumi
Date: Fri Aug 28 00:17:00 2015 +0900
sys/vfs/hammer: Remove obsolete macro HAMMER_LOCALIZE_PSEUDOFS_INC
This macro is no longer used and not necessary.
There used to be a code where hammer iterates
commit f8501d427ce1a0a667684317b0ca845c87819f88
Author: Tomohiro Kusumi
Date: Mon Aug 31 19:20:09 2015 +0900
sys/vfs/hammer: Remove prototype of not existing fucntion
This function no longer exists.
Also fix wrong name in kprintf().
Summary of changes:
sys/vfs/hammer
commit 1424c9226e2bcd3186347e187ece3dd324ef5101
Author: Tomohiro Kusumi
Date: Mon Aug 24 23:11:44 2015 +0900
sys/vfs/hammer: Add hammer_is_internal|leaf_node_elm()
The data structure of each elm of node::elms[63] (elms[62]
for internal node excluding boundary) is simply
commit 9a98b2c45bd4a63c534ca8fe9183c32ce65e0dfb
Author: Tomohiro Kusumi
Date: Wed Aug 26 00:03:16 2015 +0900
sys/vfs/hammer: Remove obsolete macro HAMMER_RECTYPE_MOVED
This macro is no longer used and not necessary.
HAMMER_RECTYPE_MOVED was once used by reblock when
commit 3f760d8900c822d6ffbf274a9fe0770b2774b7eb
Author: Tomohiro Kusumi
Date: Sat Aug 29 03:35:30 2015 +0900
sbin/hammer: Add hammer stats command (= bstats + iostats)
It's simply good to have a command that combines these two.
One often runs these two concurrently and
commit e3402cc6ce570caba747518866d463e8b63a1787
Author: Tomohiro Kusumi
Date: Sat Aug 29 00:20:41 2015 +0900
sys/vfs/hammer: Remove obsolete macro HAMMER_CLUSTER_BUFS
This macro is no longer used and not necessary.
HAMMER_CLUSTER_BUFS was once used by cluster_read
commit 001e28bca28db1fa2aad887b57ef517ee84d79e6
Author: Tomohiro Kusumi
Date: Sun Aug 30 01:03:18 2015 +0900
sbin/hammer: Make hammer show test node count
Summary of changes:
sbin/hammer/cmd_show.c | 14 ++
1 file changed, 10 insertions(+), 4 deletions(-)
http
1301 - 1400 of 1840 matches
Mail list logo