git: sbin/hammer: Cleanup long lines with >80 chars

2016-03-05 Thread Tomohiro Kusumi
commit 86a7247ba0da43e4f5e5d834d26bf804e8c5dac0 Author: Tomohiro Kusumi Date: Sat Mar 5 17:27:05 2016 +0900 sbin/hammer: Cleanup long lines with >80 chars Summary of changes: sbin/hammer/cmd_show.c | 16 +--- 1 file changed, 9 insertions(+), 7

git: sbin/hammer: Cleanup and squash elm format of hammer show

2016-03-05 Thread Tomohiro Kusumi
commit d63d12543c2da2d61754a643d9d9975d7a2c330f Author: Tomohiro Kusumi Date: Wed Mar 2 01:38:21 2016 +0900 sbin/hammer: Cleanup and squash elm format of hammer show Fix possible trailing whitespace after object type field. Record information

git: sbin/hammer: Cleanup beginning part of hammer show

2016-03-05 Thread Tomohiro Kusumi
commit 78ad341162aa487df356bd68d010acafab975e70 Author: Tomohiro Kusumi Date: Sat Mar 5 17:50:44 2016 +0900 sbin/hammer: Cleanup beginning part of hammer show to make the format a bit more understandable compared to the original format, since search

git: sbin/hammer: Fix indentation of config data output

2016-03-05 Thread Tomohiro Kusumi
commit 310c241ef93878a3499ae940e43d83efd89a64b1 Author: Tomohiro Kusumi Date: Fri Mar 4 05:21:51 2016 +0900 sbin/hammer: Fix indentation of config data output Align config data with " before and after the data. Otherwise hammer show generates output

git: sbin/hammer: Make hammer show print record type in text

2016-03-05 Thread Tomohiro Kusumi
commit 1f17336486c7bdf510d834b479640a37242159e9 Author: Tomohiro Kusumi Date: Thu Mar 3 00:53:12 2016 +0900 sbin/hammer: Make hammer show print record type in text hammer show prints "dir-entry" for each directory entry record. Do the same for the

git: sbin/hammer: Use sizeof(*elm)

2016-03-05 Thread Tomohiro Kusumi
commit 196153860dcc905a1f800813359c86d79029b4e7 Author: Tomohiro Kusumi Date: Wed Mar 2 22:56:28 2016 +0900 sbin/hammer: Use sizeof(*elm) Summary of changes: sbin/hammer/cmd_show.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)

git: sys/kern: Change "bufcache" to "buffer cache" in warning message

2016-03-05 Thread Tomohiro Kusumi
commit b7f4adf6910df2f663f537ea771f61a0756ca423 Author: Tomohiro Kusumi Date: Sat Mar 5 19:57:34 2016 +0900 sys/kern: Change "bufcache" to "buffer cache" in warning message It's better with "buffer cache". This is the only "bufcache". #

git: sbin/hammer: Don't modify buffer_info for config data for no reason

2016-03-05 Thread Tomohiro Kusumi
commit d604bad632f50ffa1ffd0a470b01825b4b162ab7 Author: Tomohiro Kusumi Date: Thu Mar 3 01:32:15 2016 +0900 sbin/hammer: Don't modify buffer_info for config data for no reason print_config() introduced by bc5af92e modifies the data part of

git: sbin/hammer: Add num_bad_rec counter to hammer show

2016-03-05 Thread Tomohiro Kusumi
commit 2d600cc715dffbf81f91c2446da1c32370c52c74 Author: Tomohiro Kusumi Date: Fri Mar 4 02:49:50 2016 +0900 sbin/hammer: Add num_bad_rec counter to hammer show Add a counter for CRC error and blockmap offset error for records in addition to counters

git: sbin/hammer: Cleanup error string formats for records' crc error

2016-03-05 Thread Tomohiro Kusumi
commit 1c1d5eecc6d98017bb2f9abee7815c717205dd3e Author: Tomohiro Kusumi Date: Fri Mar 4 01:51:03 2016 +0900 sbin/hammer: Cleanup error string formats for records' crc error Also make it grep friendly with "error=%s" format. Summary of changes:

git: sbin/hammer: Cleanup and squash inode record format of hammer show

2016-03-05 Thread Tomohiro Kusumi
commit 963a61c53638c2a0f89062fe3bd075ad047c44fe Author: Tomohiro Kusumi Date: Thu Mar 3 02:40:01 2016 +0900 sbin/hammer: Cleanup and squash inode record format of hammer show Inode information was taking too many lines for no reason. Squash three

git: sbin/hammer: Minor fix for hammer(8) manpage

2016-03-05 Thread Tomohiro Kusumi
commit efc166b1f2d2982633c55d8628afe6fa3e772ca2 Author: Tomohiro Kusumi Date: Fri Mar 4 22:58:30 2016 +0900 sbin/hammer: Minor fix for hammer(8) manpage Summary of changes: sbin/hammer/hammer.8 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)

git: sbin/hammer: Fix wrong config data field name

2016-03-05 Thread Tomohiro Kusumi
commit e24b3fc79361699006082e107a3a260cbd8e7775 Author: Tomohiro Kusumi Date: Fri Mar 4 03:19:07 2016 +0900 sbin/hammer: Fix wrong config data field name bc5af92e changed the name of char[] field from "text" to "stext", which was wrong. Change it

git: sbin/hammer: Add obfuscate option to hammer show

2016-03-05 Thread Tomohiro Kusumi
commit 337ec5f8a0e7641024a16c9b647ca804d753334f Author: Tomohiro Kusumi Date: Sat Mar 5 14:44:21 2016 +0900 sbin/hammer: Add obfuscate option to hammer show Add an option not to print directory entry name so that users can send hammer show output to

git: sbin/hammer: Don't access beyond 16KB of HAMMER userspace buffer

2016-03-05 Thread Tomohiro Kusumi
commit 7d0dab482a8621fa2fcb8ae0d5f27e62aed4c9f4 Author: Tomohiro Kusumi Date: Sat Mar 5 01:08:46 2016 +0900 sbin/hammer: Don't access beyond 16KB of HAMMER userspace buffer HAMMER userspace only supports upto 16KB buffer size while HAMMER filesystem

git: sys/vfs/hammer: Add hammer_btree_extract_data() [1/2]

2016-03-05 Thread Tomohiro Kusumi
commit 0a6fabdb4a391f3075a7076c85d40112db0604a1 Author: Tomohiro Kusumi Date: Mon Feb 29 00:25:03 2016 +0900 sys/vfs/hammer: Add hammer_btree_extract_data() [1/2] hammer_btree_extract() reads data from block devices if flag has

git: sbin/hammer: Fix trailing blank line in config data output

2016-03-05 Thread Tomohiro Kusumi
commit 270c68de8fa83ab51f6834e07549992273157447 Author: Tomohiro Kusumi Date: Fri Mar 4 05:11:11 2016 +0900 sbin/hammer: Fix trailing blank line in config data output hammer show needs to ignore the last string "" after strsep(3) replaces \n at the

git: sys/vfs/hammer: Don't use HAMMER_CURSOR_GET_LEAF

2016-03-05 Thread Tomohiro Kusumi
commit cf977f11346cb0bcae56d092359a0774a5dc4d61 Author: Tomohiro Kusumi Date: Wed Mar 2 02:29:09 2016 +0900 sys/vfs/hammer: Don't use HAMMER_CURSOR_GET_LEAF HAMMER_CURSOR_GET_LEAF is not used by the current implementation of hammer_btree_extract(),

git: sys/vfs/hammer: Add hammer_btree_extract_data() [2/2]

2016-03-05 Thread Tomohiro Kusumi
commit 40962009f857572107d3bcd4571ba92c2f587725 Author: Tomohiro Kusumi Date: Mon Feb 29 00:29:59 2016 +0900 sys/vfs/hammer: Add hammer_btree_extract_data() [2/2] This commit replaces hammer_btree_extract(cursor, HAMMER_CURSOR_GET_DATA) with

git: sbin/hammer: Use HAMMER_OFF_BAD

2016-03-05 Thread Tomohiro Kusumi
commit 16d077a6c5630bf0065d2a41f9d575b377b9e126 Author: Tomohiro Kusumi Date: Tue Mar 1 22:28:45 2016 +0900 sbin/hammer: Use HAMMER_OFF_BAD Summary of changes: sbin/hammer/cmd_show.c | 2 +- sbin/hammer/hammer.c | 2 +- 2 files changed, 2 insertions(+), 2

git: sys/vfs/hammer: Add missing hammer_crc_set_btree()

2016-03-05 Thread Tomohiro Kusumi
commit af3e4d3eed0081f2b66c00fe0aab18ae2fc1b524 Author: Tomohiro Kusumi Date: Thu Mar 3 00:08:25 2016 +0900 sys/vfs/hammer: Add missing hammer_crc_set_btree() set_btree is the only one missing in pairs of set/test crc functions, though other set

git: sys/vfs/hammer: Add hammer_btree_extract_leaf()

2016-03-05 Thread Tomohiro Kusumi
commit c11c58774d9abe6d70c7278bf4c013adee93e9b3 Author: Tomohiro Kusumi Date: Mon Feb 29 00:05:10 2016 +0900 sys/vfs/hammer: Add hammer_btree_extract_leaf() hammer_btree_extract() doesn't read data from block devices unless flag has