commit ef63add428c6aec989dac29f9223e6a28c88d9e0
Author: Tomohiro Kusumi kusumi.tomoh...@gmail.com
Date: Wed Feb 18 23:52:16 2015 +0900
sbin/hammer: trivial coding style fix
- Trivial coding style fix to a commit 24dd5805.
- Add parenthesis as hammer code mostly prefers
commit 8f10d7e0b43182923754be9e737ca80112fb1cb8
Author: Tomohiro Kusumi kusumi.tomoh...@gmail.com
Date: Thu Feb 19 02:07:03 2015 +0900
sbin/hammer: check strtol()/strtoll() results to avoid irrelevant history
queries
- Check errno for possible overflow/underflow by strtol
commit fe4eb395d1c2252f95aadbfc4cc1ae753373659a
Author: Tomohiro Kusumi kusumi.tomoh...@gmail.com
Date: Thu Feb 19 02:50:33 2015 +0900
sbin/hammer: ignore negative length for history dump
- Use default value 32 when a negative value was given for
history dump.
Summary
commit 8a28dcf677ac7e8b4020fcd7acdfec789d5fe3b4
Author: Tomohiro Kusumi kusumi.tomoh...@gmail.com
Date: Thu Feb 19 00:16:54 2015 +0900
sbin/hammer: trivial cleanup
- commit 00b46268 reverting 417cb1b1 brought back unnecessary blank line
at the end of the file that was once
commit da6430b62d9a1156df2d361bdde340a46e25c9c8
Author: Tomohiro Kusumi kusumi.tomoh...@gmail.com
Date: Thu Feb 19 00:11:15 2015 +0900
sbin/hammer: close file descriptor on history iteration
- Make hammer history command close(fd) each time it opens path@@0x`tid
commit ed71a58de0a8bc80a1ac9ade19721658a7583ed4
Author: Tomohiro Kusumi kusumi.tomoh...@gmail.com
Date: Thu Feb 12 21:04:19 2015 +0900
test commit
Summary of changes:
test/test/README | 1 +
1 file changed, 1 insertion(+)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff
commit 2426f861a8fe51254a118ced119ce98dcbb586cc
Author: Tomohiro Kusumi kusumi.tomoh...@gmail.com
Date: Sun Feb 15 20:44:39 2015 +0900
sys/vfs/hammer: minor zone cleanup
- hammer_generate_undo() takes either zone 1 or zone 2 address
(hammer generates undos for both volume
commit 24dd58053d0c5202c7072e4a7b9cca0f3aae5a14
Author: Tomohiro Kusumi kusumi.tomoh...@gmail.com
Date: Wed Feb 4 05:31:46 2015 +0900
sbin/hammer: add get_ondisk()
- Cleanup get_buffer_data() and get_node() using a new inline function
get_ondisk(). These two actually do
commit 900413c3a6b52cd61e09ad98049ce53aa3ac77de
Author: Tomohiro Kusumi kusumi.tomoh...@gmail.com
Date: Sun Feb 15 03:27:25 2015 +0900
sys/vfs/hammer2: fix typos
- Fix trivial typos in comments.
Summary of changes:
sys/vfs/hammer2/hammer2_disk.h | 2 +-
sys/vfs/hammer2
commit 098f3e0cf8c0b6b894828fe99e6fc78af6721407
Author: Tomohiro Kusumi kusumi.tomoh...@gmail.com
Date: Sat Feb 21 06:54:14 2015 +0900
sys/vfs/hammer: fix comment regarding unknown object type
- There are btree nodes that have 0 (HAMMER_OBJTYPE_UNKNOWN) for
obj_type although
commit c2f57ae23f00d1702a74f48c3f96a33c8c55aa51
Author: Tomohiro Kusumi kusumi.tomoh...@gmail.com
Date: Sun Mar 15 02:19:22 2015 +0900
sbin/hammer: Add debug printf on cache flushing
- Add debug fprintf to stderr on cache flushing that shows
the number of buffers released
commit d75d1dc9e556527b1784e6addb219fd9f4ff5168
Author: Tomohiro Kusumi kusumi.tomoh...@gmail.com
Date: Sun Mar 15 03:55:48 2015 +0900
sbin/hammer: Properly break from cache flush loop
- hammer_cache_flush() needs to keep track of the first element
that was pushed back
commit 420cb11dd40d4c5784ed8a375b6108fbbd87
Author: Tomohiro Kusumi kusumi.tomoh...@gmail.com
Date: Thu Mar 19 00:44:22 2015 +0900
sbin/hammer: Add assertions
- Add assertions for invalid node type and undo header type.
Summary of changes:
sbin/hammer/cmd_blockmap.c | 8
commit 0083f684ba6b13d680dd5111b3e21f81db379cc1
Author: Tomohiro Kusumi kusumi.tomoh...@gmail.com
Date: Thu Mar 19 00:45:46 2015 +0900
sbin/hammer: Implement checkmap collects using rbtree
- Replace hash table for collects using rbtree.
- Using hash table can't dump
commit 913b6663ed6f24a309fd6afd3f19d1dc2c4b390b
Author: Tomohiro Kusumi kusumi.tomoh...@gmail.com
Date: Sun Mar 22 00:58:50 2015 +0900
sbin/hammer: Expand hammer show directive to lo:objid:rectype:key:tid
- Make hammer show command take rectype:key:tid as an optional part
commit d42b45c3c4ad841d4c955ba6341c266aaac32b57
Author: Tomohiro Kusumi kusumi.tomoh...@gmail.com
Date: Tue Mar 17 01:34:40 2015 +0900
sbin/hammer: Add zone-bigblock statistics to hammer checkmap command
- Make hammer checkmap command print zone-bigblock statistics when
-v
commit 1d05d4e03a2f82282efeeedc107aa9dae1cad60a
Author: Tomohiro Kusumi kusumi.tomoh...@gmail.com
Date: Tue Mar 17 01:34:20 2015 +0900
sbin/hammer: Use existing function hammer_cache_used()
- Use existing function hammer_cache_used() for list operation.
Summary of changes:
sbin
commit ef5468da3d1ffe216099b5f0271428d7381022c4
Author: Tomohiro Kusumi kusumi.tomoh...@gmail.com
Date: Tue Mar 17 01:34:40 2015 +0900
sbin/hammer: Properly set counter in cache flushing loop
- This local variable 'count' being reset to 0 was probably intended
to be set to 1
commit 18dbf12f4dfa394db29c9afa5347bedabc3792a1
Author: Tomohiro Kusumi kusumi.tomoh...@gmail.com
Date: Tue Mar 17 01:41:30 2015 +0900
sbin/hammer: Make hammer checkmap show number of errors if any
- Make hammer checkmap command print number of inconsistency
after all
commit 604b6edb9d5b3b7ada1159d2d9239c797c846155
Author: Tomohiro Kusumi kusumi.tomoh...@gmail.com
Date: Tue Mar 17 01:34:40 2015 +0900
sbin/hammer: Fix and add debug printf on buffer access
- Fix debug fprintf format when the buffer was newly allocated.
- Add debug
commit 77fe9097fa638acf49f27a3747a3ed85f14a0f8c
Author: Tomohiro Kusumi kusumi.tomoh...@gmail.com
Date: Tue Mar 17 01:42:04 2015 +0900
sbin/hammer: Fix printf format for bad node
- Remove { since there is no } unlike hammer show command.
Summary of changes:
sbin/hammer
commit 8fd2cc397c30558bbc7b00958180820c38f16c5f
Author: Tomohiro Kusumi kusumi.tomoh...@gmail.com
Date: Tue Mar 17 01:36:44 2015 +0900
sbin/hammer: Disable AssertOnFailure when running hammer checkmap
- Since the purpose of hammer checkmap command is to find out
commit 91416fbde1ae5806d56c4cf1ff6ac7700ce5c60d
Author: Tomohiro Kusumi kusumi.tomoh...@gmail.com
Date: Tue Mar 17 19:47:13 2015 +0900
sbin/hammer: Make hammer checkmap command use tailq
- Embed TAILQ_ENTRY(collect) entry; in struct collect instead of
having a pointer
commit 11dccec244d02624cf82fd337b81228c04f9da0d
Author: Tomohiro Kusumi kusumi.tomoh...@gmail.com
Date: Tue Mar 17 19:49:48 2015 +0900
sbin/hammer: Move COLLECT_XXX macros to cmd_blockmap.c
- These macros are magic numbers locally used by checkmap.
Library users don't need
commit edcc81367d0db0fcc368d69238683f756c9a17de
Author: Tomohiro Kusumi kusumi.tomoh...@gmail.com
Date: Fri Mar 20 22:09:51 2015 +0900
sbin/hammer: Make hammer show properly print '*' for elements that match
directive
- hammer show command (running with lo:objid directive
commit 8e99b49736afc21d5dfd27959a427bfcbc572845
Author: Tomohiro Kusumi kusumi.tomoh...@gmail.com
Date: Thu Mar 19 23:58:04 2015 +0900
sbin/hammer: Add missing free(3)
- Free results of strdup(3) and getdevpath(3).
Summary of changes:
sbin/hammer/hammer.c | 2 ++
1 file changed
commit d2bf3c30c5cce98e99a6e345b4f612bfe06ca289
Author: Tomohiro Kusumi kusumi.tomoh...@gmail.com
Date: Wed Mar 18 01:06:33 2015 +0900
sbin/hammer: Make hammer checkmap command support undo zone
- Make hammer checkmap command support undo zone by scanning
undo fifo
commit 5f9a4634969f984b0538cb7de3f6dc35d4c55d38
Author: Tomohiro Kusumi kusumi.tomoh...@gmail.com
Date: Wed Mar 18 01:16:30 2015 +0900
sbin/hammer: Make some checkmap functions inline
- Make collect_xxx functions inline.
Summary of changes:
sbin/hammer/cmd_blockmap.c | 17
commit f0b930f314d1ccc165af3f9fe5f2512343fc9482
Author: Tomohiro Kusumi kusumi.tomoh...@gmail.com
Date: Tue Mar 10 20:09:36 2015 +0900
sys/vfs/hammer: Properly set mirror_tid on root node split
- Set elms[0].internal.mirror_tid of the new root node
after root split
commit dff08fe7fd957453edf54865845e605849f2173a
Author: Tomohiro Kusumi kusumi.tomoh...@gmail.com
Date: Tue Mar 10 20:36:18 2015 +0900
sbin/hammer: Remove unnecessary workarond after f0b930f3
- Revert one of the workarounds made in commit 2f8c6a59 since it's
no longer
commit 15230345fa342bcf0d2f32580a87bf09edaf0cd4
Author: Tomohiro Kusumi kusumi.tomoh...@gmail.com
Date: Fri Mar 6 04:23:32 2015 +0900
sbin/hammer: Fix workaround made in 2f8c6a59
- 'elm-internal.mirror_tid == 0' was not necessary.
It failed to detect some cases
commit 04b9236f8a624ef900f3669b86ee62dd23374fc2
Author: Tomohiro Kusumi kusumi.tomoh...@gmail.com
Date: Fri Mar 6 04:42:08 2015 +0900
sbin/hammer: Print '' or '' if the element is a copy of
root_btree_(beg|end)
- Make hammer show command print '' or '' if the element is a copy
commit f9b843c42de77380759e65354cd6e06d4a76136a
Author: Tomohiro Kusumi kusumi.tomoh...@gmail.com
Date: Sat Mar 7 17:52:30 2015 +0900
sys/vfs/hammer: Fix hammer_debug_btree print format
- Use the same format as ones from btree_search() (add key=)
for better readability
commit 2f49d4c50cae1d6a1370f18b922893f7d87b9b17
Author: Tomohiro Kusumi kusumi.tomoh...@gmail.com
Date: Sun Mar 8 07:46:49 2015 +0900
sys/vfs/hammer: Fix and add comments on btree
- hunk1-2: These two seem to be old ones. At this point *node is
a pointer to cursor-node
commit 365b488c78f50d8c852703c59559f0593e1a6c96
Author: Tomohiro Kusumi kusumi.tomoh...@gmail.com
Date: Thu Mar 12 08:30:30 2015 +0900
sbin/hammer: Don't use the same buffer for blockmap layer1 and layer2
- Functions that lookup blockmap layer1 and layer2 should use
commit 41aa2ab39af43c9857de1b01154650266c6f2a48
Author: Tomohiro Kusumi kusumi.tomoh...@gmail.com
Date: Wed Mar 11 21:28:32 2015 +0900
sbin/hammer: Add additional info to BO
- Make hammer show command print additional 3 characters after BO
based on error type
commit 66086a39274fedbbde236b9d1d4e88d0d59b2fdf
Author: Tomohiro Kusumi kusumi.tomoh...@gmail.com
Date: Wed Mar 11 22:57:44 2015 +0900
sys/vfs/hammer: Cleanups on undo
- hunk1 - These macros were added in 36f82b23 in 2008 but never used.
- hunk2 - Not only zone1 but also
commit 6f359c7af39af7022c97dc84cf364e656bfc2467
Author: Tomohiro Kusumi kusumi.tomoh...@gmail.com
Date: Tue Mar 24 20:18:05 2015 +0900
sys/vfs/hammer: Fix comment on leaf node elements
- This seems to be an obsolete comment from 47197d71.
There is nothing special about leaf
commit b70819e940c4fc29a810aab3503071f82ef6effb
Author: Tomohiro Kusumi kusumi.tomoh...@gmail.com
Date: Tue Mar 24 20:14:35 2015 +0900
sys/vfs/hammer: Make use of btree_max_elements()
- Implement btree_node_is_full() using btree_max_elements()
which had been #if0'd at right
sephe, thanks for this fix.
It seems this commit in the latest master iso resolves the critical kernel
panic issue I had on installation using v4.0.5 (or below) iso.
btw I was using this GIGABYTE's GA-H97-HD3.
2015-03-25 16:53 GMT+09:00 Sepherosa Ziehau se...@crater.dragonflybsd.org:
commit
commit 3c6df2848cf5f7a5286f6cba419f1657e5ff1bea
Author: Tomohiro Kusumi kusumi.tomoh...@gmail.com
Date: Thu Mar 26 21:59:03 2015 +0900
sbin/hammer: Make rel_buffer() and rel_volume() check if arg is NULL
- Some of the existing code do if (buf) { rel_buffer(buf
commit b57ce21bfd0df09139224f84343ae15bd7a9daf8
Author: Tomohiro Kusumi kusumi.tomoh...@gmail.com
Date: Thu Mar 26 21:14:24 2015 +0900
sbin/hammer: Fix width of hammer stats output
- Align output of hammer stats columns using %9jd instead of
either %9jd, %8jd or %5jd
commit aa32bba7a976f81e63cb1c2e415455bcfbc2a663
Author: Tomohiro Kusumi kusumi.tomoh...@gmail.com
Date: Thu Mar 26 21:35:11 2015 +0900
lib/libhammer: Remove duplicated and unnecessary macro definitions
- All these macros are already defined in sbin/hammer/*.
- HAMMER_BUF
commit 14df6a3d588d21fef1ea74dd9c9e052cc1e1ba8c
Author: Tomohiro Kusumi kusumi.tomoh...@gmail.com
Date: Thu Mar 26 21:46:26 2015 +0900
sbin/hammer: Remove duplicated header include
- libhammer.h is included by hammer.h
Summary of changes:
sbin/hammer/cmd_info.c | 2 +-
sbin
commit 6779846fd293853d6a7cb52a17d0cfe65a0b4efe
Author: Tomohiro Kusumi kusumi.tomoh...@gmail.com
Date: Thu Mar 26 22:27:43 2015 +0900
sbin/hammer: Fix comments on supported checkmap zones
- btree nodes and undo fifo is supported in addition to data
after 6cf258d and d2bf3c3
commit baa8ac599c07fae05af4faedf0e56ef599781353
Author: Tomohiro Kusumi kusumi.tomoh...@gmail.com
Date: Sun Mar 29 04:01:26 2015 +0900
sbin/newfs_hammer: Properly allocate root inode and pfs from meta zone
- newfs_hammer writes initial two elements, root inode and pfs
commit 901e04c726658ce6ec198aa56d0b2c5b9255fc72
Author: Tomohiro Kusumi kusumi.tomoh...@gmail.com
Date: Sun Mar 29 04:34:09 2015 +0900
sbin/hammer: Make hammer checkmap check zone
- Make use of unused layer2 track field track2-zone to check
layer2 entries' zone
commit 44cd685c7ff64915c6067e9911cb9d6f03e2eaf8
Author: Tomohiro Kusumi kusumi.tomoh...@gmail.com
Date: Sun Mar 1 05:06:01 2015 +0900
sbin/hammer: Don't show FLAG_BADMIRRORTID for root node in certain corner
case situation
- Make hammer show command stop showwing an error flag
commit 17958f92d4f32316b39587da1fb1d83801539ffa
Author: Tomohiro Kusumi kusumi.tomoh...@gmail.com
Date: Fri Feb 27 20:45:22 2015 +0900
sbin/hammer: Rename static function print_elm_flags() to get_elm_flags()
- print_elm_flags() doesn't print anything.
Summary of changes:
sbin
commit 2f8c6a592f4f91d24fed1dbb59c04ba2ca55d251
Author: Tomohiro Kusumi kusumi.tomoh...@gmail.com
Date: Tue Mar 3 01:32:05 2015 +0900
sbin/hammer: Don't show irrelevant BM and d after root split
- Make hammer show command suppress irrelevant outputs
BM NODE ... and d tids
commit 106ccd0827c478d177964e47f0b0d5be962897bc
Author: Tomohiro Kusumi kusumi.tomoh...@gmail.com
Date: Thu Mar 5 04:10:33 2015 +0900
sys/vfs/hammer: Fix and add comments on btree boundaries
- Some comments on btree left/right boundaries are not up-to-date
with the code
commit cb86564c618f8d7bd40ca040cd328481a4ce4ef9
Author: Tomohiro Kusumi kusumi.tomoh...@gmail.com
Date: Sun Feb 22 03:28:22 2015 +0900
sbin/hammer: remove obsolete comments
- Remove comments of a no longer existing function.
Summary of changes:
sbin/hammer/ondisk.c | 7
commit 51a31a39c6490ac24260ff4c41d10133cb069abc
Author: Tomohiro Kusumi kusumi.tomoh...@gmail.com
Date: Sun Feb 22 05:14:50 2015 +0900
sys/vfs/hammer: remove obsolete comments on btree, etc
- hunk1: Use 'type' instead of 'subtype'. subtype was a different
idea from type
commit cf620e4b65d7e8812cf4cc781f61c1c56f979409
Author: Tomohiro Kusumi kusumi.tomoh...@gmail.com
Date: Mon Feb 23 21:17:01 2015 +0900
sys/vfs/hammer: Fix comment on PFS
- HAMMER_RECTYPE_FIX and HAMMER_FIXKEY_PSEUDOFS are no longer used by
cursor to lookup PFS data. It uses
commit 71747c5e50e1b2ae34dfe1743d5fcb76905671c6
Author: Tomohiro Kusumi kusumi.tomoh...@gmail.com
Date: Mon Feb 23 21:21:20 2015 +0900
sys/vfs/hammer: Add missing header include
- #include sys/param.h to avoid following error. This happens when
hammer_ioctl.h is included
commit af77653dacca6d0747caab8422e3ee0a55313bec
Author: Tomohiro Kusumi kusumi.tomoh...@gmail.com
Date: Mon Feb 23 02:51:35 2015 +0900
sys/vfs/hammer: remove comment on atime
- Remove a comment regarding where atime is stored. It's a parf of inode,
but not btree element
commit d8f9f619e3951c40660716f7e3195e5f4e8db712
Author: Tomohiro Kusumi kusumi.tomoh...@gmail.com
Date: Tue Feb 24 19:53:34 2015 +0900
sys/vfs/hammer: Add comments on PFS ioctls
- Add another line regarding inodes for these ioctls.
Summary of changes:
sys/vfs/hammer/hammer_pfs.c
commit b5d9eb6dac3b05cce72fb8bd435889a34e05a73f
Author: Tomohiro Kusumi kusumi.tomoh...@gmail.com
Date: Tue Feb 24 19:54:45 2015 +0900
sys/vfs/hammer: Fix comments on btree record data
- hunk1 - Make comments up-to-date with code.
- hunk2 - Show this member
commit 59192911b4cc2175bdf370017380b1bd048ed4be
Author: Tomohiro Kusumi kusumi.tomoh...@gmail.com
Date: Tue Feb 24 20:52:34 2015 +0900
sys/vfs/hammer: Remove duplicate calculation of localization
- No need to calculate localization twice.
Summary of changes:
sys/vfs/hammer
commit 38c04e647523b42b168ebf9b328619ba8992824e
Author: Tomohiro Kusumi kusumi.tomoh...@gmail.com
Date: Thu Feb 26 20:36:42 2015 +0900
sbin/newfs_hammer: Properly set ondisk localization value
- Make hammer_newfs properly set ondisk localization for the first
two elements
commit dc241916e10102adde2a9c28e3cd7927ce184206
Author: Tomohiro Kusumi kusumi.tomoh...@gmail.com
Date: Thu Feb 26 20:25:59 2015 +0900
sys/vfs/hammer: Fix and add comments on root inode
- hunk1 - The root inode uses HAMMER_DEF_LOCALIZATION for its
onmemory ip(inode
commit 70c82e5f836c9a6b4fa587df00588d5bf20e6eaf
Author: Tomohiro Kusumi kusumi.tomoh...@gmail.com
Date: Wed Feb 25 19:18:06 2015 +0900
sys/vfs/hammer: conform to style(9)
- Remove #include sys/types.h
- Kernel include files (i.e. sys/*.h) come first;
normally
commit e21af3db38717d0dd1e09531590f615872f558d3
Author: Tomohiro Kusumi kusumi.tomoh...@gmail.com
Date: Fri Apr 3 23:17:26 2015 +0900
sbin/hammer: Fix wrong hash value
- get_buffer_readahead() scans ondisk buffer using a wrong hash
value based on raw address. It needs to use
commit 4fa5fb92edf94e3ddbbeecd94be13d3faf834b74
Author: Tomohiro Kusumi kusumi.tomoh...@gmail.com
Date: Tue Apr 21 21:01:00 2015 +0900
sys/vfs/hammer: Cleanup sanity checks
- Move sanity checks to the beginning of the function.
- Check 'free_level HAMMER_BIGBLOCK_SIZE
commit f02dcec099ec5f57b8feaa11a75374ff3f6a8e88
Author: Tomohiro Kusumi kusumi.tomoh...@gmail.com
Date: Tue Apr 21 23:20:04 2015 +0900
sbin/hammer: Print big block size on reblock
- Print free_level/big_block_size when reblock starts instead of
just free_level
commit 6540d157adb11e5bd59986ef07276232cbe3d0c1
Author: Tomohiro Kusumi kusumi.tomoh...@gmail.com
Date: Tue Apr 21 21:08:56 2015 +0900
sys/vfs/hammer: Cleanup cursor initialization code on reblock
- Just make things a bit more clear.
- The rule is the ioctl caller sets
commit ebadcc6a03cf84c75af34707d38dda1ea847418d
Author: Tomohiro Kusumi kusumi.tomoh...@gmail.com
Date: Tue Apr 21 21:04:38 2015 +0900
sys/vfs/hammer: Make hammer_blockmap_getfree() clear *curp on error case
- Set *curp to either 0 or 1 regardless of *errorp.
The previous
commit d58869bda15ddc5e96c1c053196fcd3e56e340c6
Author: Tomohiro Kusumi kusumi.tomoh...@gmail.com
Date: Wed Apr 22 00:15:21 2015 +0900
sbin/hammer: Print key_end.lo instead of key_beg.lo on reblock
- Print reblock.key_end.localization when reblock starts instead
commit 558a44e2ea853e87cd77f5260c550f647b9b6326
Author: Tomohiro Kusumi kusumi.tomoh...@gmail.com
Date: Tue Apr 21 21:02:47 2015 +0900
sys/vfs/hammer: Fix comment
- Sync a comment with what's written in reblock_usage().
Summary of changes:
sys/vfs/hammer/hammer_reblock.c | 4
commit 3585f0f18f04cf92441b49cf52b1cf36aa8bcc90
Author: Tomohiro Kusumi kusumi.tomoh...@gmail.com
Date: Sun Apr 19 03:24:43 2015 +0900
sbin/hammer: Remove redundant exit(3)
- snapshot_usage(1); does exit(1); as the comment implies.
Summary of changes:
sbin/hammer/cmd_snapshot.c
commit 64df1e745ba368af5264cc66bdc028d01e46feda
Author: Tomohiro Kusumi kusumi.tomoh...@gmail.com
Date: Sun Apr 19 19:51:41 2015 +0900
sbin/hammer: Remove irrelevant if(S_ISLNK()) case
- Remove if(S_ISLNK()) case for hammer snap since it never matches.
- Also note
commit a81b0b4410c17439a1e103cf8778622856c53bc3
Author: Tomohiro Kusumi kusumi.tomoh...@gmail.com
Date: Sun Apr 19 03:42:43 2015 +0900
sys/vfs/hammer: Fix off-by-one for snapshot index
- The index starts from 0 so these ioctls should test 'index = count'.
Summary of changes:
sys
commit f111635e8fa00098f1e6128648b194b7338e62c9
Author: Tomohiro Kusumi kusumi.tomoh...@gmail.com
Date: Sun Apr 19 19:17:36 2015 +0900
sbin/hammer: Add missing snapshots related free(3)
- Call free(3) after asprintf(3)
Summary of changes:
sbin/hammer/cmd_snapshot.c | 11
commit 03b6feead81b307f2f2e39220e169e7d7226c400
Author: Tomohiro Kusumi kusumi.tomoh...@gmail.com
Date: Sun Apr 26 03:55:01 2015 +0900
sys/vfs/hammer: Make hammer_delete_at_cursor() properly set *stat_bytes
- This commit makes hammer_delete_at_cursor() set *stat_bytes arg
commit b1c084cde78885ba34491f997e0c3db911a7464e
Author: Tomohiro Kusumi kusumi.tomoh...@gmail.com
Date: Thu Apr 23 19:41:44 2015 +0900
Revert sbin/hammer: Print key_end.lo instead of key_beg.lo on reblock
This reverts commit d58869bda15ddc5e96c1c053196fcd3e56e340c6
commit 160242d432bd1f3e3ab3a2f7718e604e7ad315a9
Author: Tomohiro Kusumi kusumi.tomoh...@gmail.com
Date: Thu Apr 23 21:55:05 2015 +0900
sys/vfs/hammer: Make comments up-to-date
- There was no 'if (dip)' when the .. comment was added in 5a930e66,
but ea434b6f needed 'if (dip
commit cac4bde9d5c410ccf1930eece812c078d59381d0
Author: Tomohiro Kusumi kusumi.tomoh...@gmail.com
Date: Fri Apr 24 23:52:28 2015 +0900
sys/vfs/hammer: Cleanup cursor initialization code on prune
- Just make things a bit more clear (for the upcoming changes).
- The rule
commit 5e1e14547fc7c6b6430fad19c2e5aabfddf19690
Author: Tomohiro Kusumi kusumi.tomoh...@gmail.com
Date: Sat Apr 25 01:56:02 2015 +0900
sys/vfs/hammer: Add -A option to reblock|rebalance all pfs
- -A option makes certain per pfs hammer commands perform on all pfs
commit 32a31210d4b47c76d1189ec35a908dcf1806ff06
Author: Tomohiro Kusumi kusumi.tomoh...@gmail.com
Date: Thu Apr 30 01:02:23 2015 +0900
sys/vfs/hammer: Cleanup hammer.h
- It was more appropriate to have hammer_xlate_to_zone2 macro in
sys/vfs/hammer/hammer_disk.h than sys/vfs
commit 1caa20358006378375b610381def7e22fa38cad5
Author: Tomohiro Kusumi kusumi.tomoh...@gmail.com
Date: Wed Apr 29 23:01:27 2015 +0900
sys/vfs/hammer: Cleanup ifdef/else in hammer.h [1/2]
- 872a7eee introduced hammer.h to userspace using ifdef/else switches
that needs
commit 23e66b3b16937f4a13761b4fc2f7578b1314a90c
Author: Tomohiro Kusumi kusumi.tomoh...@gmail.com
Date: Thu Apr 30 00:21:56 2015 +0900
sys/vfs/hammer: Cleanup ifdef/else in hammer.h [2/2]
- 872a7eee introduced hammer.h to userspace using ifdef/else switches
that needs
commit d36df97b1a3de40c508c7aba625bbe6ea02b457d
Author: Tomohiro Kusumi kusumi.tomoh...@gmail.com
Date: Fri May 1 00:23:10 2015 +0900
sbin/hammer: Cleanups
- hunk 1 - The second arg gets |ed with encoded zone address.
- hunk 2 - Remove duplicated comment.
Summary
commit 08200f273c231ef0228aa1686100740fc9a30d2c
Author: Tomohiro Kusumi kusumi.tomoh...@gmail.com
Date: Sat May 2 02:17:04 2015 +0900
sbin/hammer: Remove unused READAHEAD flag
- Cleanup get_buffer() by removing HAMMER_BUFINFO_READAHEAD since
this flag does nothing
commit 6b0af9b61d169fe8ac23f51796ec4b1e764cf3d7
Author: Tomohiro Kusumi kusumi.tomoh...@gmail.com
Date: Sun May 3 01:13:31 2015 +0900
sys/vfs/hammer: Add ascii art on pip/ip/rec relation
- Add an ascii art which describes the existing comment.
Summary of changes:
sys/vfs/hammer
commit f5ac16682fed373a4d7253e6b555289439017ea2
Author: Tomohiro Kusumi kusumi.tomoh...@gmail.com
Date: Sat May 2 02:05:59 2015 +0900
sbin/hammer: Add a function find_buffer()
- Make things a bit more clear by separating hash table stuff
into a function.
Summary of changes
commit 4dd27cb8601548ab801959e8a869170dafc38ad6
Author: Tomohiro Kusumi kusumi.tomoh...@gmail.com
Date: Tue May 5 01:07:52 2015 +0900
sys/vfs/tmpfs: Remove trailing whitespace
- Lines changed by 66fa44e7 have trailing whitespaces for some reason.
Summary of changes:
sys/vfs
commit d6d9df16081683c223e8fba883960071217a4edd
Author: Tomohiro Kusumi kusumi.tomoh...@gmail.com
Date: Tue May 5 02:54:30 2015 +0900
sys/vfs/tmpfs: Change tm_ino type from 'int' to 'ino_t'
- tmpfs_mount::tm_ino needs to be ino_t.
- A wrapper function for ino allocation
commit 23db337972550a5403043aa25e8ffd4592fd9c42
Author: Tomohiro Kusumi kusumi.tomoh...@gmail.com
Date: Tue May 5 03:32:47 2015 +0900
sys/vfs/tmpfs: Lock tmpfs member on ino allocation
- tmp-tm_ino++;
should be properly protected by TMPFS_LOCK/UNLOCK().
Summary of changes
commit c93b565cc617732a7d0c6e7102fa4b84c379f4de
Author: Tomohiro Kusumi kusumi.tomoh...@gmail.com
Date: Fri May 1 21:08:36 2015 +0900
sbin/hammer: Conform to style(9)
- Kernel include files (i.e. sys/*.h) come first;
normally, include sys/types.h OR sys/param.h, but not both
commit d9d4a3f43df7e50add760982a70e4e89c7ad8d17
Author: Tomohiro Kusumi kusumi.tomoh...@gmail.com
Date: Thu May 7 01:03:09 2015 +0900
sys/vfs/tmpfs: Fix assertion
- It's always expected to be 2.
Summary of changes:
sys/vfs/tmpfs/tmpfs_vfsops.c | 4 ++--
1 file changed, 2
commit c5552356888f95d93b11be04550cdff29d0497eb
Author: Tomohiro Kusumi kusumi.tomoh...@gmail.com
Date: Wed May 6 00:26:24 2015 +0900
sys/vfs/tmpfs: Add comment
- This function unlocks a lock acquired by a caller.
Summary of changes:
sys/vfs/tmpfs/tmpfs_subr.c | 4 +++-
1 file
commit 8c24f24ee096861731f6e5a082e22370a972701c
Author: Tomohiro Kusumi kusumi.tomoh...@gmail.com
Date: Wed May 6 00:33:21 2015 +0900
sys/vfs/tmpfs: Lock tmpfs_mount member
- Reading tmp-tm_nodes_inuse needs lock
Summary of changes:
sys/vfs/tmpfs/tmpfs_subr.c | 6 +-
1 file
commit 722843f72069149ba7191e97c8422b9f6b458dd2
Author: Tomohiro Kusumi kusumi.tomoh...@gmail.com
Date: Tue May 5 03:55:17 2015 +0900
sys/vfs/tmpfs: Remove #include sys/spinlock2.h
- tmpfs no longer uses spinlock (it did before).
Summary of changes:
sys/vfs/tmpfs/tmpfs_subr.c
commit e6db94b29aacbd288774574b1967828c8c07c013
Author: Tomohiro Kusumi kusumi.tomoh...@gmail.com
Date: Fri May 8 20:19:09 2015 +0900
sys/vfs/tmpfs: Make flag handling consistent [1/2]
- Not taking inode lock on if-test for inode status introduces
a potential race
commit 215b902242b386e5a01c72d8245df7535bed0bd0
Author: Tomohiro Kusumi kusumi.tomoh...@gmail.com
Date: Fri May 8 19:48:47 2015 +0900
sys/vfs/tmpfs: Cleanups
- hunk1 - Remove unnecessary #if0/endif.
- hunk2 - Remove unnecessary goto.
Summary of changes:
sys/vfs/tmpfs
commit c595728587e3d04ed27f9c275bddd0eafd6427ce
Author: Tomohiro Kusumi kusumi.tomoh...@gmail.com
Date: Fri May 8 20:33:07 2015 +0900
sys/vfs/tmpfs: Make flag handling consistent [2/2]
- Remove unnecessary unlock/lock after the previous commit.
Summary of changes:
sys/vfs/tmpfs
commit e47b73c65d312cf196178b1110166a8d203abaeb
Author: Tomohiro Kusumi kusumi.tomoh...@gmail.com
Date: Sun May 10 06:28:25 2015 +0900
sys/sys: Remove VFS_MPLOCK2 macro
- Not only vfs and filesystems are NOT using this macro,
but also this macro doesn't work given
commit 371cb095cfbd4be09a76849d9b9ad961d5001e84
Author: Tomohiro Kusumi kusumi.tomoh...@gmail.com
Date: Sun May 10 07:45:08 2015 +0900
sys/sys: Rename VFS_MPLOCK1 to VFS_MPLOCK
- The previous commit has removed VFS_MPLOCK2 macro.
- VFS_MPLOCK1 is the only VFS_MPLOCK
commit 979fcbd650ee90c8e1b2285833c5dc117ff53777
Author: Tomohiro Kusumi kusumi.tomoh...@gmail.com
Date: Mon May 11 02:17:57 2015 +0900
sys/kern: Remove trailing ; from DO_OPS()
- The trailing ; is redundant.
Summary of changes:
sys/kern/vfs_vopops.c | 2 +-
1 file changed, 1
commit 6a85c61bc2794e37b6c15b7d670d5dae35ebe1af
Author: Tomohiro Kusumi kusumi.tomoh...@gmail.com
Date: Mon May 11 01:56:43 2015 +0900
sys/kern: Fix comments
- hunk1 - Add missing MPSAFE comment.
- hunk2 - It actually acquires per-mount-token and get_mplock
1 - 100 of 1622 matches
Mail list logo