commit 110d9b3aeace5e67e1400fdd749afbb06378d9a7
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Sat Oct 31 00:16:12 2015 +0900
sys/dev/disk/dm: Fix sanity checks for striped target [3/4]
0 stripe is apparently invalid, but it's currently allowed
and gen
commit b7405bb6344bbb92fda75e6d91e4c23263ccf8de
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Wed Oct 28 00:17:46 2015 +0900
sys/dev/disk/dm: Add info() handler for striped target for compatibility
f134a703 mentioned output of dmsetup(8) "status" and
commit bab5d5107c877a0e4956692ff79ab9e65aa440f5
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Sat Oct 31 19:46:22 2015 +0900
sys/dev/disk/dm: Fix sanity checks for striped target [1/4]
Bring sanity checks before kmalloc().
Summary of changes:
sys/dev/disk/dm/t
commit 4f398b7bffdf4ee06537fd992ae7c58d8c2b70d1
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Tue Oct 27 01:10:32 2015 +0900
sys/dev/disk/dm: Add udev_t field to dm_pdev_t
Summary of changes:
sys/dev/disk/dm/dm.h | 1 +
sys/dev/disk/dm/dm_ioctl.c | 2 +-
sys/dev/d
commit 54b60c60ffdea2cbf93a1e98ebd607d30e79c4dc
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Mon Oct 19 21:52:25 2015 +0900
sys/dev/disk/dm: Don't implement "status" as a subset of "table" [2/2]
struct dm_target's "char *(*status)(void *
commit 1e313caebb4cdd0e5de3d6358b91ead1564a71c2
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Mon Oct 19 23:29:19 2015 +0900
sys/dev/disk/dm: Remove unnecessary kprintf
dmsetup(8) table for linear showing "/dev/xxx offset"
unconditionally wi
commit ac816675c8321309b49d6a335f95c5388036803f
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Mon Oct 12 12:07:31 2015 +0900
sys/dev/disk/dm: Fix race on pdev create
List lookup and insert need to be atomic otherwise more than
one dm_pdev_t* for the same unde
commit 7ed81407385dcf9e6b82d756facd65595f674243
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Mon Oct 12 21:58:17 2015 +0900
sys/vfs/hammer: Panic with "for redo" on insufficient FIFO for redo
hammer_generate_undo() and hammer_generate_redo() both h
commit bdf2de7bdc949c9f784eba8d813f0a3fcc0f6db3
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Mon Oct 12 19:10:36 2015 +0900
sys/dev/disk/dm: Cleanups
Remove a space from
dm_table_entry_t * table_en,
struct buf * bp,
dm_dev_t * dmv,
commit 10fc9e7164c3e472c6da4403fc645a41732004be
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Mon Oct 12 12:40:54 2015 +0900
sys/dev/disk/dm: Fix cppcheck warning
Summary of changes:
sys/dev/disk/dm/dm_pdev.c | 1 -
1 file changed, 1 deletion(-)
commit 64c24ea9f90adae7db8a695f6c6a97f362605964
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Mon Oct 12 17:23:24 2015 +0900
sys/dev/disk/dm: Simplify list eviction
Change
while (!EMPTY(e)) { e = FIRST(); REMOVE(e); do_something(e); }
to less red
commit b9b46b3ad77b2eb8f97653da8dfbf1ced9115547
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Mon Oct 12 16:36:34 2015 +0900
sys/dev/disk/dm: Use dm_pdev_rem()
Summary of changes:
sys/dev/disk/dm/dm_pdev.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit cec3109646d034af017a43fbb2f0d4f8e928bb1b
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Mon Oct 12 11:00:10 2015 +0900
sys/dev/disk/dm: Cleanup DIOCGPART related code
Summary of changes:
sys/dev/disk/dm/device-mapper.c | 12
sys/dev/disk/dm/dm_
commit 033bbf9ecbc341389715a9ecfd913cc554f36b7b
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Sun Oct 11 22:09:34 2015 +0900
sys/dev/disk/dm: Refactor dmioctl()
Get rid of if-nest and goto.
This function can be implemented without if-nest an
commit 83eeaffa2f1cfa93d343296d50a1ce0ada703cad
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Thu Oct 15 22:17:39 2015 +0900
sys/dev/disk/dm: Make rename ioctl return ENOSYS
This isn't implemented, so don't let dmsetup complete as if
/dev/mapper/xxx is succes
commit dc37498a3e25ab3d9c4ca7b5082435daac632ec0
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Wed Oct 21 01:34:13 2015 +0900
sys/dev/disk/dm: Comment out unused variables (that have future plans)
Things that are supposed to be implemented in the future
acc
commit 323b0fc13feccf06ffa1bb2c94c4661601296cf5
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Tue Oct 20 23:44:04 2015 +0900
sys/dev/disk/dm: Change printf() to kprintf()
Change disabled (i.e. either within a comment or not compiled)
printf() to kprintf().
S
commit 9842ce30fc3a20ac6822c3d8346b38232be3916d
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Tue Oct 20 23:18:53 2015 +0900
sys/dev/disk/dm: Remove aprint_normal()
This is a macro for kprintf, but dm and targets basically
never use this except for
commit 1a584652fd99f7f26cec31e3f7fe1305db1edc02
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Tue Oct 20 22:36:53 2015 +0900
sys/dev/disk/dm: Don't expose cmd_function in header
This struct is necessary only for core part of ioctl where
it needs to trans
commit ed913f04d2f3c61cbd08613aeff3a3056cbaf74c
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Sat Oct 17 01:06:34 2015 +0900
sbin/hammer: Change *stat to *sp for gcc4
e9976f43 had compile time error with gcc4 (but not with gcc5).
misc.c: In fu
commit 219b70dd843a65fc675413e0495d0de6bdbbe9c0
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Sun Oct 18 15:32:57 2015 +0900
sys/dev/disk/dm: Remove unnecessary cast
that was added in 66fee7c.
Summary of changes:
sys/dev/disk/dm/targets/delay/dm_target_delay
commit e3e17bc4375bf5a7c778c776b11ca28a1908
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Mon Oct 19 00:23:11 2015 +0900
sys/dev/disk/dm: Remove dm_get_version_ioctl()
"version" command is done by userspace (Linux lvm2),
so we really don't
commit f9751b335da609f265f0491761757e26c305ee14
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Mon Oct 19 00:56:43 2015 +0900
sys/dev/disk/dm: Remove NULL element for array termination
Summary of changes:
sys/dev/disk/dm/device-mapper.c | 24 ++--
commit 5d2f3426536700230b93d945a660c2e33715171a
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Sun Oct 18 19:22:22 2015 +0900
contrib/lvm2: Update dmsetup(8) manpage
Add missing lines.
"Read Ahead" part is conditional, but there
commit 66fee7cc1080d3f2889ac6f6ea3e0eeeb15f2fec
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Sun Oct 18 03:17:38 2015 +0900
sys/dev/disk/dm: Fix dm-delay deps behavior for compatibility with Linux
dmsetup(8)'s deps subcommand should not show two underlying
d
commit 037a33c5852ff57fb122c5fbceba87a6c1df81f2
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Sat Oct 17 23:01:22 2015 +0900
sys/dev/disk/dm: Fix dm-delay behavior for compatibility with Linux
The original Linux dm-delay's behavior was to
(A) use read
commit 33b3a12e8c6d5ee1dfe3633e3ea1143da49bd88c
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Fri Oct 16 03:00:11 2015 +0900
sys/dev/disk/dm: Simplify list eviction
Similar to 64c24ea.
Summary of changes:
sys/dev/disk/dm/dm_target.c | 10 --
1 file chan
commit 4c28af7b441c5df18a2a0900f25d488db8aa0314
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Sun Oct 11 01:18:51 2015 +0900
sys/dev/disk/dm: Separate dm_dev_rem_dev() from dm_dev_rem()
dm_dev_rem() should be separated into two functions where
one take
commit ce4dc2f7a9046283af1c6280e630f9cace362f71
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Sun Oct 11 15:21:32 2015 +0900
sys/dev/disk/dm: Add manpage for dm_target_delay(4)
Note that crypt, striped, and delay (this commit) are the
only dm targets with m
commit 7350b8b6e313b6207d2cb37fa133824097fe9794
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Sun Oct 11 02:52:05 2015 +0900
sys/dev/disk/dm: Remove unused prototype and wrong comments
Summary of changes:
sys/dev/disk/dm/device-mapper.c | 2 +-
sys/dev/disk/d
commit 52157f6b1a0e2a3193b5d3a8614a093ce99ea3ca
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Sun Oct 11 00:04:21 2015 +0900
sys/dev/disk/dm: Cleanups
Summary of changes:
sys/dev/disk/dm/dm_dev.c| 13 +++--
sys/dev/disk/dm/dm_target.c | 4 ++--
2 files chan
commit bae9e161e0691b8ff7bcb3379d02141bd3f0
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Sat Oct 10 22:44:22 2015 +0900
sys/dev/disk/dm: Change unused dev types to reserved
DM_DELETING_DEV and DM_SPARE_DEV have never been used
by dm core in both Dra
commit 5728bf33f0c3bd623a1a9d5f0626c80e36ae6c4b
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Mon Sep 28 20:01:10 2015 +0900
usr.bin/undo: Refactoring [1/2]
Sync with doiterate's arguments order.
Summary of changes:
usr.bin/undo/undo.c | 21 +-
commit babd2e48fa1809dd684239b1113915cd37c044f8
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Sat Sep 26 02:04:37 2015 +0900
sys/vfs/hammer: Add error messages for crc test failure
Add crc error messages based on the existing error message
in hammer_btree_e
commit 827bb21047a339b2336fd96a42f0f05689b5ca0d
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Mon Sep 28 20:46:40 2015 +0900
usr.bin/undo: Fix ambiguous and/or wrong error message
printf("%s: ITERATE ENTIRE HISTORY: %s\n", filename, strerror(error));
commit 7fb4fc889cba65b7f999aace93b2c1a231b18012
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Sun Sep 27 05:16:15 2015 +0900
usr.bin/undo: Remove redundant history collection
collect_history(fd, , _tree);
is done right before this unconditionally. If the pr
commit 644be7727272872ba9c2d33742c91642fa64890e
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Sun Sep 27 03:33:45 2015 +0900
usr.bin/undo: Add path@@ to fake transaction id message
Summary of changes:
usr.bin/undo/undo.1 | 4 ++--
usr.bin/undo/undo.c | 4 +++-
2 files c
commit 91b6127f8c01e3b527a3cab2fc618b6c9440bc09
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Sun Sep 27 04:45:58 2015 +0900
usr.bin/undo: Rename UNDO_FLAG_SETTID[12] to UNDO_FLAG_TID_INDEX[12]
"SETTID[12]" doen't represent what these
commit 7e82238e39030e6831bcae814474bbf9cdcba531
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Sat Sep 26 19:12:54 2015 +0900
usr.bin/undo: Remove temporary tree handling
There isn't any requirement to collect history for dryrun,
so temporary rbtree code cou
commit 000ca89e7fa58b51a4a6a05c82872be553e3b60f
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Sat Oct 3 21:42:57 2015 +0900
sys/dev/disk/dm: Remove unused macro MAX_TARGET_STRING_LEN
Not sure what this is for and never used in both DragonFly
and NetBSD.
S
commit f3ef812beaa0c3135ecba9fda85c11465cd3ac4a
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Sat Oct 3 16:29:22 2015 +0900
sys/dev/disk/dm: Don't define target specific defs in dm.h
dm targets should not have target local structures, function
prototype
commit 78869e361e17abae0d1f2bd28264e5db9317528f
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Wed Sep 30 23:03:27 2015 +0900
sys/dev/disk/dm: Fix indentation and cleanups
Summary of changes:
sys/dev/disk/dm/device-mapper.c | 17 +
sys/dev/disk/dm/dm_i
commit 89635542037e0da43fea2775f8b4eb46230e5b35
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Tue Sep 29 21:14:33 2015 +0900
sys/dev/disk/dm: Remove unconditional kprintf in strategy()
dm-error has unconditional kprintf in strategy originally
brought from th
commit 603468ea3430965b9ecd555406a8ae9ae597bf6d
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Mon Sep 28 21:16:59 2015 +0900
usr.bin/undo: Fix error handling
As mentioned in the previous commit, collect_history() should
set error variable to errno when
commit a3c6b8ec99ce8a3fe6f1ca8ace1d35c9b45e2bd4
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Thu Oct 1 19:17:44 2015 +0900
sys/dev/disk/dm: Add if(debug) conditional to kprintf in strategy()
There are 6 unconditional aprint_debug() in dm strategy which
commit bbb13156dac13fafd5dcb03e878dd68028f89dac
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Tue Sep 29 21:47:45 2015 +0900
sys/dev/disk/dm: Remove prototype of not existing function
Summary of changes:
sys/dev/disk/dm/device-mapper.c | 1 -
sys/dev/disk/d
commit 591464210d5f2108d1a6cadbcf115e7c4083a2fd
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Sat Oct 3 03:01:38 2015 +0900
sys/dev/disk/dm: Add dm-delay target
Examples
=
# newfs_hammer -L TEST /dev/da3 > /dev/null
# mount_hammer /dev/da
commit d391463316c8801da14586889bb4fc827ed48e15
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Sun Oct 4 05:56:02 2015 +0900
sys/dev/disk/dm: Fix wrong ref release
dm_table_release() has released a reference for this target.
Having another r
commit 745703c7e4e3258b63851a13b1c037a8bae15166
Author: Tomohiro Kusumi kusumi.tomoh...@gmail.com
Date: Wed Jul 8 00:03:09 2015 +0900
hammer: Remove trailing whitespaces
- (Non-functional commits could make it difficult to git-blame
the history if there are too many of those
commit b2b52761c8a5f685364eab4d9ba56efe4b927d86
Author: Tomohiro Kusumi kusumi.tomoh...@gmail.com
Date: Sun Jul 12 00:20:42 2015 +0900
sbin/hammer: Fix comments
- The first comment on layer1 seems to be obsolete.
The big-block for layer1 metadata is always in volume0
commit 44af2e17675e22259df73d96a341096645c252cd
Author: Tomohiro Kusumi kusumi.tomoh...@gmail.com
Date: Sat Jul 11 19:18:24 2015 +0900
sbin/hammer: Cleanup blockmap initialization
- Initialize blockmap fields in the same order as
struct definition as well as format_undomap
commit b74a001881d8630e07ac3005e65f0ba51ce180df
Author: Tomohiro Kusumi kusumi.tomoh...@gmail.com
Date: Sun Jul 12 00:01:00 2015 +0900
sbin/hammer: Cleanup blockmap pointer dereference
- Just to make the code look better
(than having blockmap[\nHAMMER_...]).
Summary
commit a360b0f535ef075af0e73b877977e8923495b91d
Author: Tomohiro Kusumi kusumi.tomoh...@gmail.com
Date: Sat Jul 11 19:50:59 2015 +0900
sbin/hammer: Remove unnecessary blockmap argument
- format_freemap() does not need the second argument for blockmap.
This function sets
commit c91f0866b8150e4844f1ec3cefb8fa19f87386a4
Author: Tomohiro Kusumi kusumi.tomoh...@gmail.com
Date: Thu Jul 9 03:53:49 2015 +0900
sys/gnu/vfs/ext2fs: Update COPYRIGHT.INFO
- 1284f18 should have updated this file.
Summary of changes:
sys/gnu/vfs/ext2fs/COPYRIGHT.INFO | 2
commit 0a38f2ea598a9013da05ca36d219135a505781a0
Author: Tomohiro Kusumi kusumi.tomoh...@gmail.com
Date: Thu Jul 9 22:28:39 2015 +0900
sbin/hammer: Remove init_fifo_head()
- format_undomap() initializes fifo head without using this
function which has been #if0'd.
Summary
commit dc4ad89016afa192511e98434d473a59808a7297
Author: Tomohiro Kusumi kusumi.tomoh...@gmail.com
Date: Thu Jul 9 23:10:40 2015 +0900
sbin/hammer: Enable readhammerbuf()
- Bring back #if0'd function readhammerbuf() which is a wrapper
for pread(2) for 16KB buffer
commit 36211fc612d412f6cd1fb69dd094f2fa9c0b6e6c
Author: Tomohiro Kusumi kusumi.tomoh...@gmail.com
Date: Fri Jul 10 23:07:28 2015 +0900
sys/vfs/hammer: Add hammer_node_max_elements()
- Add inline function hammer_node_max_elements() and make
it available to userspace
commit 3e5d397ee0dc82067133f694630c2365d10b7e30
Author: Tomohiro Kusumi kusumi.tomoh...@gmail.com
Date: Fri Jul 10 22:18:48 2015 +0900
sys/vfs/hammer: Use HAMMER_BUFFERS_PER_BIGBLOCK
- It's been defined but not used and good to use it.
Summary of changes:
sys/vfs/hammer
commit da490817c017b06d2e1a13842c4ba03b62641267
Author: Tomohiro Kusumi kusumi.tomoh...@gmail.com
Date: Thu Jul 9 23:26:32 2015 +0900
sbin/mount_hammer: Fix indentation
Summary of changes:
sbin/mount_hammer/mount_hammer.c | 9 +
1 file changed, 5 insertions(+), 4 deletions
commit 7866ea2a0eaaa93bc66d3a9c88074e4049ab5ef8
Author: Tomohiro Kusumi kusumi.tomoh...@gmail.com
Date: Sun Jul 12 11:58:59 2015 +0900
sys/vfs/hammer: Cleanup whitespace(0x20) before tab
- Get rid of 0x20s that are being highlighted by editors
whereas other lines in hammer
commit c204ebbec13d060aa4b2a8f915c386f74c520043
Author: Tomohiro Kusumi kusumi.tomoh...@gmail.com
Date: Sun Jul 12 11:31:53 2015 +0900
sys/vfs/hammer: Add comment on multi-master clustering
- It should note that multi-master clustering is not supported.
The original comment
commit 13c9bf36fcefc05aa5c9a8894353bb1d8a8ad289
Author: Tomohiro Kusumi kusumi.tomoh...@gmail.com
Date: Sun Jul 12 12:15:34 2015 +0900
sys/vfs/hammer: Fix comments
- hammer_fsbuf_head only existed in the early days of hammer.
Summary of changes:
sys/vfs/hammer/hammer_disk.h | 9
commit 0b5c1bab7587b24016e0f1faef76b08b164813e7
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Sat Aug 29 00:01:28 2015 +0900
sbin/hammer: Remove obsolete variable UsingSuperClusters
This variable is no longer used and not necessary.
This was added in the
commit f176517c3e94ef0bbde397ff13a2d1651023d868
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Fri Aug 28 19:33:07 2015 +0900
hammer: Remove cluster topology related comments
that were written in the early stage of hammer devel
but do not reflect the
commit 62d8972eb6d897aecb7f802edd7e79797213e19e
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Sat Aug 29 17:08:50 2015 +0900
sys/vfs/hammer: Remove redundant elm type check [2/2]
The following code(A) in hammer_cursor_down() is redundant.
It works th
commit 5cbc7d52036223c1bc23626d6e622d923887cbf5
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Fri Aug 28 06:04:55 2015 +0900
sys/vfs/hammer: Remove redundant elm type check [1/2]
hammer_btree_lock_children() assumes the node is internal,
but not leaf or an
commit a17eeab0da8d65a37f139642b91e2fede4021048
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
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
commit 2483e5ac42137f987fd5a915657522fe49f7d624
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
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 o
commit fca68e7b013798665632ab8069721de27c137a95
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
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
commit 0c4c331aa1a94a41520f5f6d0b2d6df628510acb
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
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 chan
commit c3378ec7b1023e8a510ab3435c7134c1e9e9d6ff
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
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
commit 91ad3f6fe14cda22f1976e3822521b52ce03c669
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
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, sho
commit ef5c9cdcbbac26d13326d9eafc97e6904b8229d0
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
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
commit 3b69269ff3cc07bd19a27e25a50227ef8ebbcb86
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
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_D
commit c1789a39a435bb7069c3ab17dbd7213950cfced2
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
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/
commit 8598fe3e017fe6fd9e6862fc04fbe610bc6d8653
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
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() ta
commit 9a98b2c45bd4a63c534ca8fe9183c32ce65e0dfb
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
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
commit 3f760d8900c822d6ffbf274a9fe0770b2774b7eb
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
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 ofte
commit e3402cc6ce570caba747518866d463e8b63a1787
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
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 wa
commit 001e28bca28db1fa2aad887b57ef517ee84d79e6
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
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
commit 0c37fec9d07902ddf88001b5d04fc883be4f4b48
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
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_BLOCKMA
commit fe4fc0c0a0d86fca3c523459751595632b3c2eeb
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
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 onl
commit 4a08dcf42e5a842012d3b7917c49fc05a9d047cf
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
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,
an
commit 3a4b67050c9f963a964b336fc1eba94993842717
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
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.
Ther
commit f8501d427ce1a0a667684317b0ca845c87819f88
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
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().
S
commit 90f96c37cef6a728ca117f4360da5336d6208ef1
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Fri Sep 4 02:15:17 2015 +0900
sys/vfs/hammer: Rename btree_set_parent() to btree_set_parent_of_child()
This commit renames btree_set_parent() to btree_set_parent_of
commit 33ad9365773eab00f06b9f81ad7dcd53b1aeae3a
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Sun Aug 30 23:00:36 2015 +0900
sbin/hammer: Add some assertions
Summary of changes:
sbin/hammer/cmd_show.c | 11 ++-
1 file changed, 6 insertions(+), 5 deletions(-)
commit ef69cace90a403da475f4a8afa1c851e2b8ac65f
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Sun Aug 30 18:25:12 2015 +0900
sbin/hammer: Fix boundary test on hammer show [3/3]
Separate child node test info RBN and non-RBN. hammer must
have set subtree_of
commit 6580f6422ff86ce3c7be21bd745e061cc8340edd
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Sun Aug 30 16:50:18 2015 +0900
sbin/hammer: Fix boundary test on hammer show [2/3]
get_elm_flags() using HAMMER_BTREE_TYPE_INTERNAL for btype
of RBN of an interna
commit 5e5eea76a366615b64f59fd32defb52443a49fce
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Tue Sep 1 20:27:09 2015 +0900
sys/vfs/hammer: Cleanup parent inode dereferenced by record
Summary of changes:
sys/vfs/hammer/hammer_object.c | 14 ++
1 file chan
commit a55270613c6cfaa55e3d21f5ef2113d9b75cc4cb
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Tue Sep 1 20:27:37 2015 +0900
sys/vfs/hammer: Cleanup incore record tree lookup
Summary of changes:
sys/vfs/hammer/hammer_object.c | 16 +++-
1 file changed, 7 inse
commit ae744f81273c7633a3839384e4fac587dcae52f3
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Thu Aug 27 00:21:27 2015 +0900
sys/vfs/hammer: Add and fix comments
on
* inode's node cache
* btree node split
* volume header
Summary of changes:
sys/vfs/
commit d10e759b1ba6092a153a4b4eb03d81b87c89c7ce
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Tue Aug 25 01:53:41 2015 +0900
sys/vfs/hammer: Properly access node element base
elm should dereference leaf.base instead of internal.base
since the node that co
commit c9d1310c28c27381e0120c9401b2976ea0add1b7
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Tue Aug 25 04:24:24 2015 +0900
sys/vfs/hammer: Don't return 0 on invalid elm.leaf.base.btype
A leaf node only has records without any boundary elm,
so btype is
commit 102e7dcae581e24a62ec4096b981f7fe2dd732a0
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Thu Sep 3 02:38:45 2015 +0900
sys/vfs/hammer: #if0 cursor_exclreq_count of inode and node
hammer code that refers to 'cursor_exclreq_count' is #if0'd,
so #if0 this
commit 8907a51b7b8f1eb4a5713beec0cf055e9b6ded31
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Mon Sep 14 08:00:26 2015 +0900
sbin/hammer: Make hammer history support per-path @offset,length
This commit allows each arg of the hammer history to take
@offset,
commit a81bcfad06141f57ba996f86c2265bffcfca440c
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Tue Sep 22 17:21:10 2015 +0900
sbin/hammer: Refactor get_elm_flags()/print_btree_elm() [1/2]
These two functions have way too many arguments and
some of them are red
commit 32d6a9543651e9dbdf9ec92c0044bc5078b7ed16
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Fri Sep 18 22:55:04 2015 +0900
sbin/newfs_hammer: Remove a local header newfs_hammer.h
newfs_hammer.c is the only file that needs newfs_hammer.h,
and all i
commit 97358992e1db75a4e2989baafd87c0fb76ad2a31
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Sun Sep 6 22:00:07 2015 +0900
sys/vfs/hammer: Remove exceptional zone selection case
hammer_alloc_data() has an unusual and exceptional way to
determine data zon
commit 10de502682d08b4da1a92aa2113b58ee4f0cfad3
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Sun Sep 20 16:33:03 2015 +0900
sbin/hammer: Fix minor memory leak
Summary of changes:
sbin/hammer/cmd_blockmap.c | 1 +
sbin/hammer/cmd_show.c | 1 +
2 files chan
301 - 400 of 1622 matches
Mail list logo