commit d9930283d4e41c9e04dd9389cf84eb0c4d9cbe47
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Wed Sep 23 00:52:56 2015 +0900
sbin/hammer: Change hammer show's printf format for elm base
This commit changes printf format for struct hammer_base_elm
fields. It d
commit d4576900f7e6a44c8839bac8b4d6233f889c055a
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Sat Sep 12 23:17:07 2015 +0900
sys/vfs/hammer: Remove obsolete macro HAMMER_HEAD|TAIL_ONDISK_SIZE
These macros are no longer used and not necessary.
These ar
commit 5b5dd5b40a6d2dda14e252ea4f67c5fa86cb95c7
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Sat Sep 19 15:28:34 2015 +0900
sys/vfs/hammer: Fix wrong comment on ambiguous variable name
hammer_volume_ondisk::vol_name[] is a filesystem label string
spe
commit dda14c079a81b731d4d1997ebcce9874aadb7c07
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Tue Sep 15 05:20:03 2015 +0900
sbin/hammer: Sync hammer usage() with hammer(8) manpage
A function usage() in sbin/hammer/hammer.c is missing several
options that
commit 400b9ca8e387da27536d11124df3bd011aac75ca
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Tue Sep 22 17:38:50 2015 +0900
sbin/hammer: Refactor get_elm_flags()/print_btree_elm() [2/2]
Call get_elm_flags() from print_btree_elm(). The elm flag
is used an
commit e2a9b402fba6588052ea681c52888d7ba253c97a
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Thu Sep 17 07:04:05 2015 +0900
sys/vfs/hammer: Rename HMNT_EXPORTREQ to HMNT_RESERVED
This was added in 513ca7d7 for NFS support but never used.
Change it (0x00
commit 8fc055b2e80aa7c8dd4806b712fcb44e7e445984
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Mon Sep 7 04:12:53 2015 +0900
sys/vfs/hammer: Remove unnecessary header includes
Summary of changes:
sys/vfs/hammer/hammer_io.c | 1 -
sys/vfs/hammer/hammer_vfsops.c | 1
commit a74dc2505e953f1ecc2785705ab82cdd8045b81b
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Sun Sep 6 03:50:39 2015 +0900
sbin/hammer: Add ifndef/define/endif for headers
Some headers are missing this, so add it to those.
Summary of changes:
sbin/hammer/ha
commit 7ff55be9fc5f3aeb0c701de252efa020f3af854e
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Mon Sep 7 22:21:03 2015 +0900
sys/vfs/hammer: Remove prototype of not existing function
Summary of changes:
sys/vfs/hammer/hammer.h | 1 -
1 file changed, 1 deletion(-)
commit b6abf391331196a9bc858db937aa8a839ea0fedb
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Mon Sep 7 23:11:29 2015 +0900
sys/vfs/hammer: Fix possible race on volume-del
hmp->volume_to_remove should get reset to -1 only after the
volume is successfull
commit 7b431e68ada91d94bb1ad297ddf6405feda27b9e
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Tue Sep 15 00:48:44 2015 +0900
sbin/hammer: Update hammer usage()
Add one line that was missing in 3f760d89.
Summary of changes:
sbin/hammer/hammer.c | 1 +
1 file c
commit 11605a5c206b366f3cadbb9cfb43beb1f764b008
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Wed Sep 16 07:11:42 2015 +0900
sys/vfs/hammer: Change hkprintf() to macro and add variants [2/2]
This commit does the following.
1. Add macros hdk
commit c6a47f25e0a1d9df93787e808c77dfc6cd24e84c
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Mon Sep 14 01:04:08 2015 +0900
sbin/hammer: Make a global variable static
Summary of changes:
sbin/hammer/cmd_config.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
commit 1a4aebcce9ba17f45b579e0f7aa46415357831b3
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Sun Sep 20 13:57:19 2015 +0900
sbin/newfs_hammer: Remove global variable Eflag
Eflag could be a local variable after ff8644cb merged
two check_volume() into one.
S
commit 33234d1463ac31b11dd8753fedbc82520b905a07
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Sun Sep 13 08:35:27 2015 +0900
sys/vfs/hammer: Adjust raw kprintfs using hkprintf variants
This is part3 of hkprintf related after the following two.
sys/vfs/
commit 9c8b568e30b6c7192b23864e77db8d3c2a084a58
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Tue Sep 8 00:43:34 2015 +0900
sbin/hammer: Cleanup header includes regarding hammer_util.h
Summary of changes:
sbin/hammer/cache.c | 9 -
sbin/
commit 90d23351f480e74e9fc01ee123fd318b45768d31
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Sun Sep 6 20:17:33 2015 +0900
sys/vfs/hammer: Remove HAMMER_BUFFER_BITS
This macro is only used by compile time sanity check,
and the check is way too obvious that
commit 47fc33819c3bf4fc72d6d50cdaff5801cdf8735f
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Mon Sep 21 19:26:43 2015 +0900
sbin/hammer: Cleanup search directive structure
Remove btree elm fields from hammer show's search directive
struct btree_search, and
commit f29b8e39039188cff2bd4e78ac1969c1e33f8d35
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Mon Sep 21 14:28:07 2015 +0900
sbin/hammer: Add B-Tree helper functions and cleanups
and some cleanups that make no functional changes.
This makes B-Tree
commit af508d629df88807ac98683dfbbf934c08eeb80a
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Sun Sep 13 08:48:53 2015 +0900
sys/vfs/hammer: Remove #if 1 that no longer has any meaning
Summary of changes:
sys/vfs/hammer/hammer_inode.c | 2 --
1 file changed, 2 del
commit f970d47b54fcbac0b9cbc7b3d212f5c727dc43e2
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Tue Sep 8 01:18:28 2015 +0900
sbin/hammer: Fix comment on how to compile sbin/hammer/test_dupkey.c
This comment was never updated after icrc32.c was added.
Summary of c
commit ed959c01b7b0103165800149372d074b7a38e9c5
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Sun Sep 13 00:08:15 2015 +0900
sys/vfs/hammer: Add HAMMER_DIR_INODE_LOCALIZATION()
Move ondisk definition part of hammer_dir_localization()
to sys/vfs/hammer/hammer_
commit d053aa8aea2cf66699944def54faed89c76881b3
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Sat Sep 12 03:06:24 2015 +0900
sys/vfs/hammer: Change hkprintf() to macro and add variants [1/2]
This commit does the following.
1. Remove an inline function hk
commit 97fb61c0f96a20c9cf79f0e5d9b40c181b99e88a
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Mon Sep 7 02:48:34 2015 +0900
sys/vfs/hammer: Remove header includes from hammer.h
Remove
#include
#include
#include
#include
from sys/vfs/
commit 0e5cdae2b2672c1967ad4b48c1696d73ef904083
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Tue Sep 15 00:49:31 2015 +0900
sbin/hammer: Remove prototype of not existing function
Summary of changes:
sbin/hammer/hammer.h | 1 -
1 file changed, 1 deletion(-)
commit dc75e798e8d40c31fb4085cd5a63cb9cf3d42b4d
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Tue Sep 22 00:00:30 2015 +0900
sbin/hammer: Fix and adjust hammer show's matched character '*'
Remove unnecessary space before '*'.
Adjust position of '*' for m
commit 87b8f936e9f58031ae638e720361f548bcb9e121
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Thu Sep 17 19:31:56 2015 +0900
sys/vfs/hammer: Fix incomplete mountctl(2) vop behavior
mount(8) is unable to print nomirror mount option while other
two (nohistory,
commit 242bc30537713596d9b695845057211b66b183ea
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Sat Sep 19 08:41:41 2015 +0900
hammer: Update hammer(5) manpage
Update links to publication by
dillon@ in 2008
mneumann@ in 2010
Summary of changes:
share/ma
commit 903fdd054164f0bbbaa7585799cb5a2fd380159b
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Sat Sep 12 07:14:03 2015 +0900
sys/vfs/hammer: Add hpanic() [1/2]
This commit does the following.
1. Add a macro hpanic() which is a wrapper for
commit c96fef7005d4b8f620b747592ab7c26e7125b8c6
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Fri Sep 18 07:18:14 2015 +0900
sbin/mount_hammer: Add CFLAGS+= -I${.CURDIR}/../../sys
just like sbin/hammer and sbin/newfs_hammer.
Summary of changes:
sbin/mount_
commit 8add79747efc09a52a8ce112af942deb7b79d05f
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Mon Sep 21 20:59:29 2015 +0900
hammer: Cleanup hammer(8) manpage
hammer(8) uses "PFS" but not "pfs" unless "pfs" appears in a path.
Summa
commit 6aa149035039753b56e6e1af66a3b26f7d5e3833
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Tue Sep 22 23:04:46 2015 +0900
sbin/hammer: Cleanups
data->inode.obj_type (ot=%02x) should equal that of elm base.
Summary of changes:
sbin/hammer/cmd_sh
commit 93775b63de3727ae32740549916dd319f8375942
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Sat Sep 19 15:47:03 2015 +0900
sys/vfs/hammer: Remove ambiguous comment
Upper 16 bits of val[1] is always 0 (which equals pfs id of pfs0)
regardless of how ma
commit 45032ebd0f566b7c8e28402c3d25e3fd42c48c63
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Fri Sep 18 06:44:53 2015 +0900
sbin/hammer: Remove -DALIST_NO_DEBUG
-DALIST_NO_DEBUG is no longer necessary.
sys/kern/subr_alist.c was only used in the early
commit e52ee71ecf0ebb43c1b7e7eb5e6aca81297f957a
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Mon Sep 7 23:29:25 2015 +0900
sbin/hammer: Cleanup header includes regarding hammer.h
Summary of changes:
sbin/hammer/cmd_config.c | 2 --
sbin/hammer/cmd_history.c | 2 --
commit 8101aaccc74cb8ef6411c8d102db3f07a79789be
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Mon Sep 14 02:06:37 2015 +0900
sbin/hammer: Separate read/write inode ops on hammer *stats
It should show read and write inode ops separately since
the original
commit fa581c8a84acefe523851b28fa06b7ae72c8f485
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Tue Sep 15 00:52:16 2015 +0900
sbin/hammer: Remove obsolete option -s
-s was added in da804f11 in the early stage of hammer devel
but no longer used. Using -s does n
commit 9d756529af421a4da46c2bc1340bde2c1d535602
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Wed Sep 16 07:10:16 2015 +0900
sys/vfs/hammer: Fix error message when volumes are already mounted
It should show volumes are mounted instead of "No root volum
commit c9ee2a06c472e7559aa4280647d975f472f61272
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Thu Sep 17 07:53:46 2015 +0900
sys/vfs/hammer: Conform to style(9)
Remove unnecessary {} for a switch case element.
Summary of changes:
sys/vfs/hammer/hammer_vnops
commit 34909d8efe3ec8b36ce26db951ee1812b346476b
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Mon Sep 21 19:34:10 2015 +0900
sbin/hammer: Fix and change hammer show behavior when only lo is used
913b6663 has expanded hammer show's B-Tree directive from
lo
commit f1cf4f649f3abb55d93c4badf724ac78b272a3e1
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Sun Sep 20 16:53:25 2015 +0900
sbin/hammer: Make B-Tree walk a bit more effective
hammer show recursively calls print_btree_node() when node
type is internal. If th
commit 78c4be8325e7e06b512f32fb51bcd9339533fcf5
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Sat Sep 19 13:35:39 2015 +0900
hammer: Print "B-Tree" (conform to hammer specification)
Hammer specification, manpage, comments, etc mostly use
"B-Tr
commit 84365e818711acf89946aa23e2a308548b89da76
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Wed Sep 23 01:25:14 2015 +0900
sys/vfs/hammer: Fix cppcheck warning
Spotted-by: swildner
Summary of changes:
sys/vfs/hammer/hammer_inode.c | 1 -
1 file changed, 1 de
commit cbf26eb24be3dfb91f64ba606722b48db875baf7
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Sun Sep 6 04:47:16 2015 +0900
sys/vfs/hammer: Adjust and cleanup _KERNEL
Remove no longer necessary _KERNEL that was originally
added for usr.bin/fstat/hammer.c to i
commit b6361ed8756a5631fde2f9e5e719b69343f57759
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Sat Sep 5 23:12:18 2015 +0900
sys/vfs/hammer: Erase btype of a new boundary on internal split
It's more sane to erase btype of RBN of the original node
on internal
commit b519f4e8d802da6eaba0723af1d11720fa0ca698
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Thu Sep 24 21:18:29 2015 +0900
sbin/mount_hammer: Minor fixes and cleanups
Summary of changes:
sbin/mount_hammer/mount_hammer.c | 41
commit 516655e8506e8e19b200a63ddd45874f2b41c9a3
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Wed Dec 9 22:21:35 2015 +0900
sys/vfs/hammer: Add hammer_xlate_to_phys()
This macro is zone2 --> physical offset version of
hammer_xlate
commit 52a92d779a61aacf3ac2d63cac2a13d4dcde5f92
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Wed Dec 9 18:38:52 2015 +0900
sys/vfs/hammer: Make hammer_bnew*() call _hammer_bread()
Remove _hammer_bnew() since _hammer_bread() and _hammer_bnew()
are the exac
commit 4923f6f74dd75a3e7544d51d14e234bfb6147864
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Wed Dec 2 23:20:45 2015 +0900
sys/vfs/hammer: Add/fix comments on B-Tree node
Add/fix missing/incomplete/obsolete comments.
Move struct hammer_node_
commit 55e3f6f30c7ce5d23f30bb588f477562a674614e
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Wed Dec 2 18:42:02 2015 +0900
sys/vfs/hammer: Add/fix comments on volume header
Summary of changes:
sys/vfs/hammer/hammer_disk.h | 30 +-
1 file c
commit 587c6c14de739603ac99a467c8087793c5b1591d
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Thu Dec 10 19:51:12 2015 +0900
sys/vfs/hammer: Use hammer_find_inode()
Add __hammer_find_inode() and make hammer_get_*inode() use this.
__hammer_find_inode() is
commit c436263a5b85ec081502587b2d422f66e521
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Thu Dec 10 18:11:11 2015 +0900
sys/vfs/hammer: Cleanup
Summary of changes:
sys/vfs/hammer/hammer_undo.c | 21 +
1 file changed, 9 insertions(+), 12 del
commit 5b4785a6e4dd45dbce359247b74e49935c08ac9c
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Fri Dec 11 00:11:44 2015 +0900
sys/vfs/hammer: Fix wrong parent localization for PFS root
The idea of PFS root inode having ip localization value of its
parent direc
commit 2f89ae4d78f95c17c01c0ce41027f2efe553c2a4
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Fri Dec 11 18:57:03 2015 +0900
sbin/hammer: Make show print symlink[24] if inode is symlink
Since now that parent_obj_localization part of the union
inode.ext i
commit e1c333cb4490c25291b202f83f83717708899ea4
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Mon Dec 14 00:35:28 2015 +0900
sbin/hammer: Check existence of PFS#0 when creating PFS
hammer_cmd_pseudofs_create() checks from PFS#0 to PFS#0x
to find availab
commit 753daa182cb7f253c028b254b79dad6ddf539474
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Mon Dec 14 00:15:08 2015 +0900
sys/vfs/hammer: Add HAMMER_ROOT_PFSID macro
Explicitly show PFS#0 is root PFS.
Summary of changes:
sbin/hammer/cmd_pfs.c
commit ea6402d47e484f0536aedb50088b63efd28bad75
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Mon Dec 14 22:22:36 2015 +0900
sys/vfs/hammer: Use HAMMER_DEF_LOCALIZATION
for ip localization of root PFS instead of 0.
(see localization arg of hammer_get
commit 4daef0dd1dceadb61e85f04b633f9a13977cc34a
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Sun Dec 13 19:30:49 2015 +0900
sbin/hammer: Rename sbin/hammer/cmd_pseudofs.c to cmd_pfs.c
The kernel side of PFS code that implements ioctl is called
sys/vfs/
commit 283f6970e848724e9bd2c20d5311e412dea5e67c
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Sun Dec 13 19:49:30 2015 +0900
sys/vfs/hammer: Don't let ioctl(HAMMERIOC_SET_PSEUDOFS) create PFS in PFS
hammer pfs-master|slave have been preventing users from cr
commit f8a7a9009caff3bcd2838df1720ba941e2a8aadd
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Sun Dec 13 22:17:45 2015 +0900
sys/vfs/hammer: Rename resv->flush_group to flg_no
Not using flush_group; for int is grep friendly since hammer
mostly uses fl
commit 460925a6fe590fe72499729dcbff17076fddc14d
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Sat Dec 12 23:33:39 2015 +0900
sys/vfs/hammer: Remove unnecessary casts
These are all int minus int where both ints are flush group #.
Summary of changes:
sys/vfs/
commit 19dcf63f016d556c744214d98628a8374f683f7f
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Sat Dec 12 16:40:56 2015 +0900
sys/vfs/hammer: Remove unused count field from hammer_flusher_info
Summary of changes:
sys/vfs/hammer/hammer_flusher.c | 2 --
1 file chan
commit 8babb8e4a233861734cb4f5dac4098a86ec07e69
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Sun Jan 3 22:40:43 2016 +0900
sbin/hammer: Fix hammer(8) manpage
Add a sentence that explains PFS via PFS is not allowed.
Summary of changes:
sbin/hammer/hammer.
commit 312e991c1a0e3e0071fc907ebe5b0dc18298a90c
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Wed Dec 30 04:01:19 2015 +0900
sbin/newfs_hammer: Fix newfs_hammer(8) manpage
-L is always necessary, but two or more fs with the same -L is allowed.
Summary of c
commit 0e847ba25c7c9cf534b020c2ebca46645f0f24d4
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Wed Dec 30 02:39:16 2015 +0900
sbin/newfs_hammer: Fix newfs_hammer(8) manpage
newfs_hammer has calculations and upper limit for boot area,
which don't result in d
commit 6d58a4e4667702cc0ad7ec8727ee6275ce82f311
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Sat Dec 5 21:40:23 2015 +0900
sbin/newfs_hammer: Fix newfs_hammer(8) manpage
Summary of changes:
sbin/newfs_hammer/newfs_hammer.8 | 25 +++--
1 file chang
commit ed3f6f04e2a2e8469f3654aaf587da6486e1cb00
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Sat Dec 5 21:40:23 2015 +0900
sbin/mount_hammer: Fix mount_hammer(8) manpage
Summary of changes:
sbin/mount_hammer/mount_hammer.8 | 11 ++-
1 file changed, 10 inse
commit db7b497cbdd6eb264cf2ab90bb8be82d361f34cd
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Wed Dec 23 16:06:53 2015 +0900
sbin/hammer: Remove global variable NumVolumes
Only newfs_hammer uses this, but doesn't need to be global.
(Keeping a number of v
commit b251a9e85b2cadf4960f32d89ed929b6907a23a0
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Mon Dec 21 21:56:32 2015 +0900
sbin/newfs_hammer: Remove total size arg from format_volume()
Each HAMMER volume doesn't recognize total filesystem size,
so this unus
commit ef927d3e44e4c5152cfd810e0c2b95e0210866d3
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Mon Dec 21 22:14:08 2015 +0900
sbin/hammer: Remove vol_alloc from volume_info
vol_alloc is a fixed sized space before boot/mem/buf area
that the filesystem d
commit b70b1f36db31c429af33c12deeb0910b278d6831
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Sat Dec 19 23:04:50 2015 +0900
sys/gnu/vfs/ext2fs: Remove double initialization of ext2 inode flag
Spotted-by: swildner
Summary of changes:
sys/gnu/vfs/
commit 46137e17a8da872430785836fc270a05649a93ce
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Wed Nov 25 22:46:57 2015 +0900
hammer: Change u_int{8,16,32,64}_t to uint{8,16,32,64}_t
in the following directories and/or files.
* sys/vfs/hammer
* sbin/
commit bd129eaaaef8ab6644d46648b7984f4b52a3b285
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Sat Nov 28 23:51:48 2015 +0900
sys/vfs/hammer: Remove HAMMER_HEAD_FLAG_FREE macro
This macro is no longer used independently after bf686dbe,
but only used as
commit f47eb33ad751f59b0284afb990e02495d4bf4e40
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Sun Nov 29 00:04:06 2015 +0900
sys/vfs/hammer: Remove HAMMER_VOLF_VALID|OPEN macros
These macros added by 8750964d in 2007 (the first hammer commit)
were neve
commit 077bd8a4b0311a06e5941ec34602fa5839c476f0
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Sat Nov 28 23:37:23 2015 +0900
sys/vfs/hammer: #if0 HAMMER_BIGBLOCK_OVERFILL
The code using this macro has been #if0'd by b4f86ea3.
(The code isn't obsolete, so it
commit 7a2c0f5eefc4baede788782bfe1024a15a6eb831
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Sat Nov 28 23:47:37 2015 +0900
sys/vfs/hammer: Remove HAMMER_HEAD_TYPE_42|45 macros
These macros were never used.
See 02428fb6.
Summary of changes:
sys/vfs/
commit 9d5dfd722ac6800ce93663c03f60f64aeaa6ad41
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Sun Nov 29 19:07:23 2015 +0900
sys/vfs/hammer: Remove integrity_crc field of ondisk inode
This integrity_crc field was added in 5a930e66,
but never used or explaine
commit f2c87c8e79b234ebd1bbe41e054620167fd01ddc
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Sun Nov 29 18:24:01 2015 +0900
sys/vfs/hammer: Remove time/freq fields of ondisk PFS
These ondisk fields were added in 4c038e17 when mirroring
code was committed (w
commit 913505ff7043d30524cc618d0966344059ff609b
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Sun Nov 29 16:52:46 2015 +0900
sys/vfs/hammer: Remove #if0'd hammer_mirror_write()
and its sub function hammer_mirror_localize_data().
These two fun
commit 2c7c91ded3f61885fd96e8895665ff7b7489b9ee
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Sun Nov 29 16:36:14 2015 +0900
sys/vfs/hammer: Remove #if0'd debug kprintfs
Summary of changes:
sys/vfs/hammer/hammer_object.c | 10 --
sys/vfs/hammer/hammer_vnops.c
commit c426652380c7409a433572b06fcb398f7af9f34e
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Sun Nov 29 16:37:06 2015 +0900
sys/vfs/hammer: Remove #if0'd obsolete symlink format
Masters are to use "-1" after "@@", but not "0xFFF
commit be236e907172fc612326f34484da1c89d667e957
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Sun Nov 29 15:48:44 2015 +0900
sys/vfs/hammer: Remove DEBUG_TRUNCATE flag
This was only used in the early stage of hammer development
for debug kprintfs and no longe
commit 60ef395a9e811ee16dfbd9a1f591dbb67cf1d6b7
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Wed Nov 25 01:23:13 2015 +0900
sys/vfs/hammer: Remove forward declaration of struct hammer_cmirror
Summary of changes:
sys/vfs/hammer/hammer_cursor.h | 2 --
1 file chan
commit 79082206b0b1b9c651f2f77e1096788a28387c7b
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Wed Nov 25 01:00:26 2015 +0900
sys/vfs/hammer: Remove signature from ondisk node
The node signature was added in the early stage of hammer
development, but it's no
commit 6fa871edd8a4c6595226f8af145537a088ffc544
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Tue Dec 1 00:15:47 2015 +0900
sys/vfs/hammer: Add/fix comments on zones
Summary of changes:
sys/vfs/hammer/hammer_disk.h | 18 +-
1 file changed, 9 insertions
commit d2530221eb7250e314ae52f47ef6529d089ba587
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Tue Dec 1 20:53:37 2015 +0900
sys/vfs/hammer: Remove HAMMER_BLOCKMAP_RADIX1|2_PERBUFFER macros
Things can be implemented without using these macros that
are
commit 2b5191661daa785b2d11ec631d564bad09c11d02
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Fri Nov 20 01:58:31 2015 +0900
sys/vfs/hammer: Remove HAMMER_RECTYPE_UNUSED02/03 macros
These macros aren't used.
Also macros from 0x4 to 0xF do not exist, the
commit d6571938f2980a4084fe36f604af18ab7823a219
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Fri Nov 20 02:32:45 2015 +0900
sys/vfs/hammer: Fix comments
/* (not including atime/mtime) */
was supposed to be for HAMMER_INODE_DDIRTY according to ddfdf542.
S
commit c0a828f7728eda0305ee66489a7797b4afac8d5b
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Mon Nov 23 17:00:37 2015 +0900
sys/vfs/hammer: Remove unused bitfield of struct hammer_io
Remove unused validated field of inmemory I/O structure.
(the bit
commit 39308ea86c73dc02233a0e3aa8655b54119201fa
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Sun Nov 22 22:41:21 2015 +0900
sys/vfs/hammer: Remove unused struct hammer_volume members
Remove unused members of inmemory volume structure.
These are mostly from
commit e73c3403b4ef311cb0dc361abe9f1914088934c2
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Tue Nov 24 03:24:45 2015 +0900
sys/vfs/hammer: Remove const from volume names
struct hammer_mount_info having const char** for volume names
was not nec
commit b9790952d463c74d2706f84a3b2b5e035eb3059b
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Sun Nov 15 19:22:47 2015 +0900
sys/dev/disk/dm: Add dm-flakey target
This commit adds a new dm target dm-flakey.
This target simulates failing devices for t
commit 4885d2d65d2a3ce25ed3d56461564787458bd894
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Thu Nov 19 01:50:01 2015 +0900
sys/kern/vfs: Fix panic message
Show # of pushed bios.
Summary of changes:
sys/kern/vfs_bio.c | 4 ++--
1 file changed, 2 insertions
commit e2950f411cf734644d0586c7ed409af918988d76
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Wed May 18 17:01:32 2016 +0900
autofs: Port autofs from FreeBSD
Brought in basically from
FreeBSD@GitHub cac9beab7d53f0c37ce2a2a1b893be59028928f4
with lots of c
commit ca7294164d097ddba87f8b85282cdedee3fa7641
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Thu May 19 03:07:27 2016 +0900
sys/kern: Retry nlookup if nresolve returned ESTALE
Make nlookup retry the whole thing if nresolve VOP returned
commit 1ede5aedc95b286da5aadac188ae95ea0746b7ec
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Sun May 15 22:05:15 2016 +0900
usr.bin/showmount: Add -E option
Brought in from FreeBSD@GitHub 6fee958d289745f0f52dcc0df16858cf7e093d5c.
Needed by autofs.
commit 551c4c362a7f8c4ae74e04ff6405c1b9eea40751
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Wed May 18 16:58:01 2016 +0900
usr.sbin/fstyp: Port fstyp from FreeBSD
Brought in from FreeBSD@GitHub 3e3c248f832f796881ac2ce0d45049552e8d9a9b.
Needed by
commit ef560bee278f06774ef808da1d503e9b1350f938
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Wed May 25 00:09:48 2016 +0900
sys/kern: Don't implement .vfs_sync unless sync is supported
The only reason filesystems without requirement of syncing
(e.g. no b
commit ef5bed6526bbb76169083db5c11e2b9bd99837c9
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Mon May 9 02:39:43 2016 +0900
sys/sys: Extend IOCPARM_MAX
Brought in from FreeBSD@GitHub 598dc07f1ee077b425c2f447aeb3dfb632a1f2a3.
Needed by autofs (and possibly
commit ce54322c03058ba2986bfb3d2ebfc98362ad941d
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date: Sun May 29 13:59:24 2016 +0900
usr.sbin/autofs: Workaround namecache bug after unmount
autounmountd gets affected by the namecache bug mentioned in
401 - 500 of 1622 matches
Mail list logo