commit 2dd9a2a557ca1e20ed61f230f8e117a03d82ea03
Author: Tomohiro Kusumi
Date: Tue Sep 27 05:42:29 2016 +0900
sbin/hammer: Partly revert 2c1d3cef in 2010
This is the same as d6c59c72, so read d6c59c72 for details.
The code in 2c1d3cef in 2010 was later replaced by
commit 143313913f4251064142972c3a6c8b94660b4fab
Author: Tomohiro Kusumi
Date: Wed Sep 21 10:48:39 2016 +0900
sbin/hammer: Remove meaningless sscanf for "@@PFS%d" format
This isn't necessary as userspace never reads "@@PFS%d" via readlink(2).
commit 81a213a5af8fff462a897722e2cd6bae0b33057d
Author: Tomohiro Kusumi
Date: Tue Sep 27 08:54:11 2016 +0900
sbin/newfs_hammer: Check/initialize uuid after getopt
Allow the program to go through options even with invalid uuid,
so it at least allows some basic options like -h
commit 0519bef5e8bbeaed17d3163757183728cdee2fa8
Author: Tomohiro Kusumi
Date: Tue Sep 27 04:53:56 2016 +0900
sbin/hammer: Remove alloc_data_element()
This function is not used by anyone, and it's normal that way.
The userspace command can't just allocate a user
commit 61940690b8e9b282172b3b81376e087f4643db0a
Author: Tomohiro Kusumi
Date: Thu Oct 6 05:10:37 2016 +0900
sbin/hammer: Make getdir() support more than 1 trailing /
Also add a comment that tells difference from dirname(3) with
trailing /, which was true prior to this commit
commit f5280412bd66bcc4e55f5f7967c0cb50a9c1adb6
Author: Tomohiro Kusumi
Date: Thu Sep 29 10:56:35 2016 +0900
sbin/hammer: Remove XXX in a comment
There isn't anything wrong with or special about this part, so remove XXX.
The code that originally came with this comment is
commit 4e8098b285b7d032a37652ac5df636e899408802
Author: Tomohiro Kusumi
Date: Tue Sep 27 01:51:43 2016 +0900
sys/vfs/hammer: Add HAMMER_FSTYPE_STRING
It's better to define this in hammer's core ondisk header than
only having it as a string literal in some users
commit fd102df45f5ece1950f6449ddf33c1b07414d58f
Author: Tomohiro Kusumi
Date: Sat Oct 8 07:46:42 2016 +0900
sbin/hammer: Don't wait 5 secs on pfs-destroy if -d (for devs)
PFS commands still have bugs and weird behaviors, so don't force
devs to wait 5 secs every
commit affce8d3de14a8bdfa871ac8cec5638fa36b63c8
Author: Tomohiro Kusumi
Date: Sat Oct 8 09:13:36 2016 +0900
sbin/hammer: Change "PFS #" to "PFS#"
It's mostly "PFS#", so remove extra space between "PFS" and "#".
Summary o
commit 09e40bf39c8ab0a4611fa6d1c1b1f35578c6d308
Author: Tomohiro Kusumi
Date: Sat Oct 8 16:22:34 2016 +0900
sbin/hammer: Remove getdir()
Using dirname(3) with a santiy check for trailing / on creating PFS
does the same as getdir(), so use a library rather than its own
commit dc17a1e015ef129a262ee0244aefc362da2a13a0
Author: Tomohiro Kusumi
Date: Sat Oct 8 16:31:53 2016 +0900
sbin/hammer: Use dirname(3) instead of getdir() in scanpfsid()
scanpfsid() can use dirname(3) for fd instead of getdir().
It's actually better to use dirname(3)
commit 578f0d566f1c8316df3f69dfc80dd00d92cbdba4
Author: Tomohiro Kusumi
Date: Thu Sep 22 07:04:18 2016 +0900
sbin/hammer: Partly revert 8b640662 in 2014
I guess it makes sense that 8b640662 silently ignores trailing / and
do destructive operations to a filesystem, since there
commit 445b5ba6a1e6afc5a585718fe1b267aa483ef6c2
Author: Tomohiro Kusumi
Date: Sat Oct 8 16:12:17 2016 +0900
sbin/hammer: Cleanup getpfs()/scanpfsid()
No functional difference.
Summary of changes:
sbin/hammer/cmd_pfs.c | 55 ---
1
commit c655a349761cf8071cbcf94587b9b637ae61
Author: Tomohiro Kusumi
Date: Sun Oct 9 16:18:59 2016 +0900
sys/vfs/hammer: Mention ondisk fields are in little endian
Explicitly mention HAMMER1 uses little endian for ondisk structures,
but not host endian (which is little on
commit 28d082dd4654cb35f336ab89d3fe1f360c780a8d
Author: Tomohiro Kusumi
Date: Sun Oct 9 18:22:18 2016 +0900
sys/dev/disk/dm: Make dmdebug() print __func__
and fix/remove dmdebug calls that could be cleaned up or simplified.
Summary of changes:
sys/dev/disk/dm/device-mapper.c
commit c94d411ef45286398e0f749eb2d993c8e6f93415
Author: Tomohiro Kusumi
Date: Wed Oct 12 21:57:37 2016 +0900
sys/vfs/hammer: Use HAMMER_MAX_KEY for initial trunc_off values
ip->trunc_off variants are to be compared with node elm's base.key,
so it should use HAMMER_MA
commit 9615af8043276961bfa23bb463d279924953db79
Author: Tomohiro Kusumi
Date: Tue Oct 11 23:40:45 2016 +0900
sys/vfs/hammer: Use MIN/MAX macros for B-Tree node's elm base
Leave obj_type with 0 instead of using HAMMER_OBJTYPE_UNKNOWN,
since it's not intended to be un
commit 6416eb0308ee30e8043dd4c3a1fdd94a304e8f82
Author: Tomohiro Kusumi
Date: Wed Oct 12 00:05:19 2016 +0900
sys/vfs/hammer: Add HAMMER_MIN|MAX_ONDISK_LOCALIZATION
Use | for HAMMER_MAX_ONDISK_LOCALIZATION, but not +.
Also see 7e52af60.
Summary of changes:
sbin/hammer
commit b3dd50356dab6c8f1f671be44b0bf92fddf4da98
Author: Tomohiro Kusumi
Date: Sat Oct 15 23:16:14 2016 +0900
sbin/hammer: Add volume signature check on loading a volume
Summary of changes:
sbin/hammer/ondisk.c | 4
sbin/mount_hammer/mount_hammer.c | 3 ++-
2 files
commit 385a0260fcfe82c93a3f332ef1f84cf492fcbed0
Author: Tomohiro Kusumi
Date: Sat Oct 15 10:15:02 2016 +0900
sbin/hammer: Cleanup arguments of init_volume()
Change the order of arguments to make the i/f similar to open(2)
as well as load_volume().
This is only for
commit a1ef4f7e4fa850576bf934e861c750b65928cf39
Author: Tomohiro Kusumi
Date: Fri Oct 14 21:27:09 2016 +0900
sbin/hammer: Add verify argument to load_volume()
Add an argument to select whether to verify volume header or not.
This is for the next commit.
Summary of changes
commit f2dd4b0c012464d21bf5733282e4091c2b580f8a
Author: Tomohiro Kusumi
Date: Sat Oct 15 23:46:57 2016 +0900
sbin/hammer: Mention bug in hammer recover command
newfs_hammer overwrites layer1/2, but doesn't overwrite data in
blockmap beyond layer1/2, so old data is still
commit c2b74c42a6ed8d6039d553fa5fb317d1288a3782
Author: Tomohiro Kusumi
Date: Fri Oct 14 21:33:59 2016 +0900
sbin/hammer: Make hammer recover use hammer_parsedevs_noverify()
hammer recover command should be able to run the recovery code
even if volume header is broken (not
commit bab164521f74e39f8e747aec76bd5ede254070dd
Author: Tomohiro Kusumi
Date: Sun Oct 16 12:07:51 2016 +0900
sbin/mount_hammer: Fix warning messages
Add warning messages for -1 and non-0-15 for master_id.
-1 and 0-15 inclusive are the only supoprted values,
so remove
commit 2998e5e0f2a1d4e80d4c992fb8d92f8cd800da23
Author: Tomohiro Kusumi
Date: Sun Oct 16 13:01:54 2016 +0900
sbin/mount_hammer: Add missing switch case from bab16452
The previous commit bab16452 needed 1..15 case for expected values,
so as not to show an irrelevant message
commit 7fb33ff0893a4803b76c917e06924191be0c2f0e
Author: Tomohiro Kusumi
Date: Thu Oct 27 16:53:54 2016 +0900
sys/vfs/hammer: Rename HAMMER_STRUCTURE_XXX to HAMMER_IOTYPE_XXX
enum hammer_io_type has existed since 2007, but the name of each
element HAMMER_STRUCTURE_XXX doesn
commit 3ff3ba13831b752b6e4d93aa9366ef7b417129c0
Author: Tomohiro Kusumi
Date: Thu Oct 27 14:01:07 2016 +0900
sys/vfs/hammer: Fix zone/iotype/iostring conversion
This isn't explcitly mentioned in documentations/comments/etc,
but HAMMER_STRUCTURE_META_BUFFER is mapped to
commit 4fcdc8b47665cd6675d8d2aaba1c7de5d4546b3c
Author: Tomohiro Kusumi
Date: Thu Oct 27 15:03:35 2016 +0900
sys/vfs/hammer: Add hammer_zone_to_iotype()/hammer_io_to_iostring()
hammer_io_read() uses iotype string only for debugging purpose.
It has nothing to do with the code
commit 9bd64fcf3b31aca72e4bd1bebd91876d777b44c9
Author: Tomohiro Kusumi
Date: Sat Oct 29 15:16:14 2016 +0900
sys/vfs/hammer: Remove wrong comment
Resizing undo fifo is not supported or even planned.
It's possible to support it, though big-blocks for undo fifo
commit f04399b19d77f4ca86090eda3cecdb8049d37e9a
Author: Tomohiro Kusumi
Date: Sat Oct 29 14:23:24 2016 +0900
sys/vfs/hammer: Rename HAMMER_UNDO_LAYER2 to HAMMER_MAX_UNDO_BIGBLOCKS
This macro has existed since 2008, but should be renamed to something
like
commit f03bf3071ebe248ec929da7cbf23b1683b617df7
Author: Tomohiro Kusumi
Date: Sat Oct 29 16:55:11 2016 +0900
sbin/newfs_hammer: Check maximum undo fifo size with explicit error message
The undo fifo size has an explicit error message for below 512MB,
so do the same for >
commit ebf2c18a0d7850b0b90d2744123ed5514d72f777
Author: Tomohiro Kusumi
Date: Sat Oct 29 22:38:38 2016 +0900
sbin/hammer: Fix default behavior of init_{boot,mem}_area_size()
The default algorithm should set value to HAMMER_{BOOT,MEM}_MINBYTES
instead of 0, if value becomes
commit 95c30c8c02cf965080a0bd7526bae61b44893e27
Author: Tomohiro Kusumi
Date: Sat Oct 29 17:23:47 2016 +0900
sbin/newfs_hammer: Fix low limit of -b and -m option
HAMMER_{BOOT,MEM}_MINBYTES are larger than HAMMER_BUFSIZE which is 16KB.
Summary of changes:
sbin/newfs_hammer
commit c3e30e910198ecbf1317eb3a6baf60de12ba34d8
Author: Tomohiro Kusumi
Date: Sat Oct 29 21:27:00 2016 +0900
sbin/hammer: Remove \n from err(3)/errx(3)
err(3)/errx(3) don't need \n (unless that's intentional).
Most programs don't have \n either.
Summary of
commit 668f11d85250ff62937eaca5f0219b55182a6c1d
Author: Tomohiro Kusumi
Date: Sat Oct 29 16:03:13 2016 +0900
sys/vfs/hammer: Add HAMMER_MIN_UNDO_BIGBLOCKS to set minimum undo fifo to
512MB
Add HAMMER_MIN_UNDO_BIGBLOCKS which is 64 big-blocks in addition
to
commit 8ecda4274d4e3b70f83eba24986cd09a65d828d0
Author: Tomohiro Kusumi
Date: Sat Oct 29 23:57:04 2016 +0900
sbin/newfs_hammer: Allow 0 for boot_area/memory_log size [2/3]
Remove unused minval/maxval args from getsize() after the previous commit.
Summary of changes:
sbin
commit 825a2db229351bed4bc88feb5fe07bd4962cd916
Author: Tomohiro Kusumi
Date: Sat Oct 29 23:53:41 2016 +0900
sbin/newfs_hammer: Allow 0 for boot_area/memory_log size [1/3]
This is for the next few commits.
Add a function to check size, and don't use size checks in ge
commit 3e7805d7328b1b670f9c95e6deaf2efd05a20067
Author: Tomohiro Kusumi
Date: Sat Oct 29 23:52:06 2016 +0900
sys/vfs/hammer: Rename mem_area_size to memory_log_size
The name of this field has been "memory area size" ever since it
was added in 90ecab35 in 2009, but
commit e2052dd5ac29e339263b3949744d21451041e664
Author: Tomohiro Kusumi
Date: Sun Oct 30 00:25:22 2016 +0900
sbin/newfs_hammer: Allow 0 for boot_area/memory_log size [3/3]
This commit gives an option to allocate no space for
boot_area/memory_log since these aren't use
commit 74087558dc729430e36e8cc79542e3e23aac407b
Author: Tomohiro Kusumi
Date: Sat Oct 29 22:17:18 2016 +0900
sbin/hammer: Test high limit in init_{boot,mem}_area_size()
Nothing changes (newfs_hammer checks this on -b and -m via getsize()),
but these functions should have high
commit 7eb492ebde5286abcdec2e293444ca25e3c918c7
Author: Tomohiro Kusumi
Date: Sun Oct 30 01:20:49 2016 +0900
sbin/newfs_hammer: Remove \n from errx(3)
errx(3) doesn't need \n (unless that's intentional).
Most programs don't have \n either.
Summary of
commit 6d584f65fee1b2df659d3feae7a7431dc7a136b1
Author: Tomohiro Kusumi
Date: Sun Oct 30 21:14:03 2016 +0900
sbin/newfs_hammer: Replace hard-coded 512MB/1GB strings with sizetostr()
Summary of changes:
sbin/newfs_hammer/newfs_hammer.c | 28 +++-
1 file changed
commit ce5eb8e9166db081f19211665988e371f961a90d
Author: Tomohiro Kusumi
Date: Mon Oct 31 20:36:03 2016 +0900
sbin/newfs_hammer: Fix newfs_hammer(8) manpage
Summary of changes:
sbin/newfs_hammer/newfs_hammer.8 | 31 ---
1 file changed, 20 insertions(+), 11
commit a4cb163fc36da1474cf11be2aea9f2ad6c843add
Author: Tomohiro Kusumi
Date: Sun Oct 30 19:17:55 2016 +0900
sbin/newfs_hammer: Add assertion for header junk space size
HAMMER_VOL_ALLOC, which represents volume header junk space size,
includes space for the volume header
commit d454cd69c6f8e8829273dffe1ccd952a7a7cbfa7
Author: Tomohiro Kusumi
Date: Mon Oct 31 23:15:50 2016 +0900
sys/vfs/hammer: Add HAMMER_VOL_JUNK_SIZE/HAMMER_{MIN,MAX}_VOL_JUNK
No functional difference. Just rename HAMMER_VOL_ALLOC to
HAMMER_VOL_JUNK_SIZE, as well as add
commit 87a5b32546bcfdfb4150823aba66cd110f90af14
Author: Tomohiro Kusumi
Date: Mon Oct 31 20:43:23 2016 +0900
sbin/newfs_hammer: Add printf for HAMMER version after formatting
After the previous commit which didn't change actual outputs,
this commit adds a new line for H
commit c57d99afeefb30e27fd694a9b081000138d46175
Author: Tomohiro Kusumi
Date: Mon Oct 31 23:17:34 2016 +0900
sbin/newfs_hammer: Fix remaining one from 3e7805d7
Summary of changes:
sbin/newfs_hammer/newfs_hammer.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
http
commit b2bafd84bbc143f04e97df6134e39215d037dde5
Author: Tomohiro Kusumi
Date: Sun Oct 30 16:17:51 2016 +0900
sbin/newfs_hammer: Add hidden -j option for header junk space
There is 256KB header junk space (which includes volume header)
starting from offset 0 of the filesystem
commit 20f1a07f2d0987e067ccce5a655e4dde88ad9d81
Author: Tomohiro Kusumi
Date: Mon Oct 31 01:08:53 2016 +0900
sbin/newfs_hammer: Fix source for filesystem info after formatting
This commit changes source of outputs after formatting a fs,
but doesn't change outputs itsel
commit ef1d1012f06dcb9cb141f76d545f5517adcb91dc
Author: Tomohiro Kusumi
Date: Tue Nov 1 20:31:29 2016 +0900
sbin/newfs_hammer: Fix print_volume() for non-root volume
It should work the same regardless of root/non-root.
Summary of changes:
sbin/newfs_hammer/newfs_hammer.c | 14
commit eee3f66c6670aea61d1f776310359c8a1cb7a92e
Author: Tomohiro Kusumi
Date: Tue Nov 1 21:44:06 2016 +0900
sys/vfs/hammer: Use HAMMER_OFF_{SHORT,LONG}_ENCODE()
HAMMER_OFF_XXX_ENCODE() macros cast result to hammer_off_t,
which is uint64_t, but makes no difference in these
commit 927812a6eaf07bf3b947f8ae858aae1b40a90744
Author: Tomohiro Kusumi
Date: Tue Nov 1 20:34:05 2016 +0900
sbin/hammer: Fix print_blockmap() for non-root volume
It should work the same regardless of root/non-root,
though vol0_blockmap[] is empty for non-root volumes
commit 7f1e2b68690f6e6c3affea00dccd8c03521e9d92
Author: Tomohiro Kusumi
Date: Thu Nov 3 16:03:48 2016 +0900
sys/vfs/hammer: Add ascii-art for volume layout
Summary of changes:
sys/vfs/hammer/hammer_disk.h | 55 ++--
1 file changed, 53 insertions
commit 50d83294807d19f723374148249951a0db08be51
Author: Tomohiro Kusumi
Date: Thu Nov 3 14:51:32 2016 +0900
sys/vfs/hammer: Fix terminology for undo fifo
Always use "UNDO/REDO FIFO" whenever printf/manpage/etc refer to
undo in terms of HAMMER's zone-3 data str
commit 920e34fae0e0b04c5f16eb0e9ebf62d0ad3c2491
Author: Tomohiro Kusumi
Date: Thu Nov 3 22:37:06 2016 +0900
sbin/mount_hammer: Simplify ondisk verification
Unlike sbin/hammer or sbin/newfs_hammer, sbin/mount_hammer
has no restriction regarding I/O size since it's rea
commit 8b30142b259489aafb10333519fc5754c789689d
Author: Tomohiro Kusumi
Date: Fri Nov 4 00:30:26 2016 +0900
sbin/hammer: Fix wrong error message
It's supposed to be "does not match".
Summary of changes:
sbin/hammer/ondisk.c | 4 ++--
1 file changed, 2 insertions(
commit 1e297b34baab956c09003283b8b8b6900bd6cbdf
Author: Tomohiro Kusumi
Date: Thu Nov 3 23:37:09 2016 +0900
sbin/mount_hammer: Fix/cleanup test_volumes()
The requirement of this function is basically the same as
__verify_volume() in sbin/hammer/ondisk.c, so make it
commit 459a6a40486fd2968e7232f532740844263a6bf3
Author: Tomohiro Kusumi
Date: Thu Nov 3 21:06:14 2016 +0900
sys/vfs/hammer: Add HAMMER_ENCODE_UNDO()
Add and use HAMMER_ENCODE_UNDO(offset) instead of
HAMMER_ZONE_ENCODE(HAMMER_ZONE_UNDO_INDEX, offset),
just like other
commit f097bffe23058d01b5a6826f6fd208cf28dcfea4
Author: Tomohiro Kusumi
Date: Sun Nov 6 15:17:37 2016 +0900
sys/vfs/hammer: Add HAMMER_DATA_DOALIGN() and variants
The only reason it's "DOALIGN" instead of just "ALIGN" is
because that's how macro
commit bbc5e78bcb51684a6bd9973fe76c973498a6c9ff
Author: Tomohiro Kusumi
Date: Sun Nov 6 15:35:28 2016 +0900
sys/vfs/hammer: Add HAMMER_BUFSIZE_DOALIGN() and variants
The only reason it's "DOALIGN" instead of just "ALIGN" is
because that's how mac
commit 30457c934d89eaffd27155a7ffba45a3504ea94e
Author: Tomohiro Kusumi
Date: Sun Nov 6 14:20:12 2016 +0900
sbin/hammer: Add a TODO comment for hammer recover
The way hammer recover simply walks through zone-2 offset from
0 to the end of the volume is inefficient
commit 1ea93af33dc11300bbf4bcce14657494ddf5b104
Author: Tomohiro Kusumi
Date: Sun Nov 6 14:47:26 2016 +0900
sys/vfs/hammer: Add HAMMER_BLOCKMAP_LAYER2_DOALIGN()
The only reason it's "DOALIGN" instead of just "ALIGN" is
because that's how macro
commit a9785ff951c623a499d821c264ded1d18021a557
Author: Tomohiro Kusumi
Date: Mon Nov 7 21:04:41 2016 +0900
sbin/hammer: Cleanup alloc_blockmap()
Layer1 could be assertion.
It's essentially the same as what 0d1f6085 in 2015 checks.
Summary of changes:
sbin/hammer/block
commit 37a7a073f8a891755f350ae31a9c754e79bde327
Author: Tomohiro Kusumi
Date: Sun Nov 6 23:14:06 2016 +0900
sbin/hammer: Add another condition to assert_volume_offset()
which is kinda obvious and expected to be false on newfs time.
Summary of changes:
sbin/hammer/blockmap.c | 2
commit 9dfd60d11f7c9f12d3c0efa5e6fb0e2b1a67c4d3
Author: Tomohiro Kusumi
Date: Sun Nov 6 23:29:54 2016 +0900
sbin/hammer: Split alloc_bigblock() into two functions [2/2]
This function is currently only used by zone-3, but it's actually
only usable by zone-3 from the way
commit 30e8ae555bb8ee5396b75c96cfc8a9e69265aee6
Author: Tomohiro Kusumi
Date: Sun Nov 6 22:51:09 2016 +0900
sbin/hammer: Split alloc_bigblock() into two functions [1/2]
For zone-4, all you can (need to) do is increment offset by 8MB,
so split alloc_bigblock() into
commit 4eb78dd26c7e31d62d4f17e54752c053358d8e4c
Author: Tomohiro Kusumi
Date: Mon Nov 7 23:53:08 2016 +0900
sys/vfs/hammer: Add HAMMER_BIGBLOCK_DOALIGN()
The only reason it's "DOALIGN" instead of just "ALIGN" is
because that's how macro
commit d369f237fcdbd0357c55428277f80ce087313bbd
Author: Tomohiro Kusumi
Date: Tue Nov 8 00:06:43 2016 +0900
sys/vfs/hammer: Cleanups
Summary of changes:
sys/vfs/hammer/hammer_blockmap.c | 9 +++--
1 file changed, 3 insertions(+), 6 deletions(-)
http://gitweb.dragonflybsd.org
commit 96dc2e6f42981ed21a281f193acd91138c4206d1
Author: Tomohiro Kusumi
Date: Tue Nov 8 00:12:54 2016 +0900
sys/vfs/hammer: Use HAMMER_BUFSIZE_DOALIGN() and variants
This should have been in bbc5e78b (failed to catch these).
Summary of changes:
sys/vfs/hammer/hammer_object.c
commit b7f51e3b5e7f3363fb2a09ce0b1d4087aa5fc49b
Author: Tomohiro Kusumi
Date: Wed Nov 9 21:52:21 2016 +0900
sys/vfs/hammer: Add HAMMER_ZONE_LAYER1_NEXT_OFFSET()
Note that this is different from HAMMER_BLOCKMAP_LAYER1_OFFSET().
HAMMER_BLOCKMAP_LAYER1_OFFSET() is an offset of
commit c4e15ea850b518a208c0d806568787d5faa5b175
Author: Tomohiro Kusumi
Date: Wed Nov 9 22:06:18 2016 +0900
sys/vfs/hammer: Add HAMMER_ZONE_LAYER2_NEXT_OFFSET()
Note that this is different from HAMMER_BLOCKMAP_LAYER2_OFFSET().
HAMMER_BLOCKMAP_LAYER2_OFFSET() is an offset of
commit 19836c70c1e92cdd87b22020ebc3a9844ab2c57e
Author: Tomohiro Kusumi
Date: Thu Nov 10 00:56:25 2016 +0900
sys/vfs/hammer: Add HAMMER_UNDO_DOALIGN()
The only reason it's "DOALIGN" instead of just "ALIGN" is
because that's how macros have been
commit 5da26eafbc4cacb31a89ef0569a29966b135c5be
Author: Tomohiro Kusumi
Date: Thu Nov 10 00:41:31 2016 +0900
sbin/hammer: Cleanup blockmap
Summary of changes:
sbin/hammer/blockmap.c | 16
1 file changed, 8 insertions(+), 8 deletions(-)
http://gitweb.dragonflybsd.org
commit 2615c07986b0350cfeb6503d641c5439ee8467d6
Author: Tomohiro Kusumi
Date: Sat Nov 12 03:14:49 2016 +0900
sbin/hammer: Cleanup hammer show-undo
Summary of changes:
sbin/hammer/cmd_show.c | 36 +---
1 file changed, 17 insertions(+), 19 deletions
commit 5b334df8d03164f8eca24341d386c8ad222f594d
Author: Tomohiro Kusumi
Date: Sat Nov 12 03:09:39 2016 +0900
sbin/hammer: Make hammer show-undo support zone statistics
Summary of changes:
sbin/hammer/cmd_show.c | 13 +
1 file changed, 13 insertions(+)
http
commit dd96867b90a01e3eb9e8ec1a5cb486ccffa49d47
Author: Tomohiro Kusumi
Date: Sat Nov 12 03:23:52 2016 +0900
sbin/hammer: Cleanup zone statistics
Summary of changes:
sbin/hammer/cmd_blockmap.c | 8
sbin/hammer/cmd_show.c | 10 +-
2 files changed, 9 insertions(+), 9
commit b480bc95e8099eaae8f7ca99456b8e9ab8b63b06
Author: Tomohiro Kusumi
Date: Sat Nov 12 15:25:41 2016 +0900
sbin/hammer: Fix hammer show-undo output format
The whole size should be in %d since data size is in %d as well.
Summary of changes:
sbin/hammer/cmd_show.c | 10
commit 6831865cc0d950bc970c4c4f73fa3a62d71d561f
Author: Tomohiro Kusumi
Date: Sat Nov 12 14:37:26 2016 +0900
sys/vfs/hammer: Add hammer_xlate_to_undo()
Summary of changes:
sbin/hammer/blockmap.c | 11 +--
sys/vfs/hammer/hammer_disk.h | 10 ++
sys/vfs/hammer
commit f3c08aaa8e4136d3fd66e2caa7fe45489372f481
Author: Tomohiro Kusumi
Date: Sat Nov 12 13:11:10 2016 +0900
sbin/hammer: Refactor left/right boundary elms in hammer show
hammer show doesn't need to pass around pointers to left/right
boundary elms in every function
commit 1b0a8c58269fbbd2c053c0d99141de0693ab9f2f
Author: Tomohiro Kusumi
Date: Sat Nov 12 18:26:13 2016 +0900
sys/vfs/hammer: Change unused ondisk redo_mtime to reserved
It was never used after added in 6048b411 in 2010.
Summary of changes:
sys/vfs/hammer/hammer_disk.h | 5
commit b157444ae6282bb208e902ac9ef1a5b5f30c0582
Author: Tomohiro Kusumi
Date: Sat Nov 12 18:48:50 2016 +0900
sbin/hammer: sbin/hammer: Fix hammer show-undo output format
Add some ondisk redo fields.
Summary of changes:
sbin/hammer/cmd_show.c | 13 +++--
1 file changed
commit d2823dc090c6611f46efd45f1f866c62c7bcbde7
Author: Tomohiro Kusumi
Date: Sat Nov 12 18:57:41 2016 +0900
sys/vfs/hammer: Use HAMMER_HEAD_DOALIGN()
Summary of changes:
sys/vfs/hammer/hammer_redo.c | 3 +--
sys/vfs/hammer/hammer_undo.c | 3 +--
2 files changed, 2 insertions(+), 4
commit f43e824cafe91b52640ea7c87661af2656152af3
Author: Tomohiro Kusumi
Date: Sun Nov 13 00:45:04 2016 +0900
sys/vfs/hammer: Fix comments
Summary of changes:
sys/vfs/hammer/hammer.h | 2 +-
sys/vfs/hammer/hammer_disk.h | 8
2 files changed, 5 insertions(+), 5 deletions
commit b54756a33aa9c5b99d990fa1f4bfe7dbf6d33e2e
Author: Tomohiro Kusumi
Date: Sun Nov 13 00:44:51 2016 +0900
sys/vfs/hammer: Remove wrong comment
Summary of changes:
sys/vfs/hammer/hammer_blockmap.c | 5 -
1 file changed, 5 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git
commit d7d5ced77e09fc272832943381657317788c7e80
Author: Tomohiro Kusumi
Date: Fri Nov 18 17:40:27 2016 +0900
sys/vfs/hammer: Fix wrong comment
7f1e2b68 should have had 4TB, not 4GB.
Summary of changes:
sys/vfs/hammer/hammer_disk.h | 6 +++---
1 file changed, 3 insertions(+), 3
commit ca8d604703937a2b1a4f677d75adf432bf9f43e2
Author: Tomohiro Kusumi
Date: Tue Nov 22 23:50:01 2016 +0900
sys/dev/disk/dm: Sync with Linux changes in flakey read behavior
Synw with the following Linux kernel commits.
99f3c90d0d85708e7401a81ce3314e50bf7f2819
commit f603807b2c8b9b8ca8a7a99e36eeb70cd39b460d
Author: Tomohiro Kusumi
Date: Sat Nov 26 12:46:41 2016 +0900
sys/dev/disk/dm: Remove dm/targets/ directory and move its entries to dm/
Device mapper targets' path
sys/dev/disk/dm/targets//dm_target_.c
are too deep f
commit 00e943648287de6eb69eadbb4b0e01026eb14170
Author: Tomohiro Kusumi
Date: Sat Nov 26 14:58:26 2016 +0900
sys/dev/disk/dm: Cleanups
This part is unclear for no reason.
Summary of changes:
sys/dev/disk/dm/device-mapper.c | 43 +
1 file
commit 19b2b39ddcb96e9acb2bfa544c4b368edfe81166
Author: Tomohiro Kusumi
Date: Sat Nov 26 19:21:01 2016 +0900
sys/dev/disk/dm: Remove obvious/redundant/disabled kprintfs
Summary of changes:
sys/dev/disk/dm/dm_target_error.c | 6 --
sys/dev/disk/dm/dm_target_zero.c
commit 41a6832221b4d2f8b7efa1018285b8ff0f6dd7fe
Author: Tomohiro Kusumi
Date: Sat Nov 26 14:17:43 2016 +0900
sys/dev/disk/dm: Remove dm_dev::dev_type
This is unused, and also not necessary.
dm core shouldn't need to be aware of target driver type.
Target depe
commit 19bd59e4a136d9f93320462c0b42eae5b3e97dd3
Author: Tomohiro Kusumi
Date: Sun Nov 27 14:35:27 2016 +0900
sys/dev/disk/dm: Make init/destroy handlers optional
Some targets don't need to do anything in init/destroy handler,
as there is no private data to init/cleanu
commit c662db9a18424b81164b14d2f9a06c43261ff5ce
Author: Tomohiro Kusumi
Date: Sun Nov 27 14:21:11 2016 +0900
sys/dev/disk/dm: Remove dm_table_init_target() call with NULL
These can be removed after 41a68322.
Summary of changes:
sys/dev/disk/dm/dm_target_error.c | 2
commit 2eccaef52dab614a753aba8029714fe5424c26e1
Author: Tomohiro Kusumi
Date: Sun Dec 4 18:57:15 2016 +0900
sbin/hammer: Add hammer strip command
This command is inspired by hammer recover command, and does
opposite of what recover command does.
This command zero
commit 4a2f63485dfb6fa133b44054e32f4ed08a93bd8d
Author: Tomohiro Kusumi
Date: Sun Dec 4 18:26:22 2016 +0900
sbin/hammer: Make hammer_parsedevs() take open(2) flag
This is for the next commit.
No functional change.
Summary of changes:
sbin/hammer/hammer.c | 28
commit fa9d9a9cbd5747ae8b47e9c17f9556cf98ef870d
Author: Tomohiro Kusumi
Date: Sun Dec 4 23:44:00 2016 +0900
sbin/hammer: Add "[y/n]" before getyn()
Summary of changes:
sbin/hammer/cmd_mirror.c | 2 +-
sbin/hammer/cmd_pfs.c| 4 ++--
sbin/hammer/cmd_volume.c | 2 +-
3 files
commit c03b793e5975003353639edf8dc94e8b29270086
Author: Tomohiro Kusumi
Date: Sun Dec 4 18:21:17 2016 +0900
sbin/hammer: Fix recursively called hammer_parsedevs()
c2b74c42 had to change recursively called hammer_parsedevs() as well.
Summary of changes:
sbin/hammer/hammer.c | 2
commit 759d6d28fd9fbe06f4073dad9c4a2c68bb793bc0
Author: Tomohiro Kusumi
Date: Wed Dec 7 02:47:04 2016 +0900
sbin/hammer: Fix inode/data messages in hammer recover
Based on other printf messages where "file" indicates regfile,
the first one should be "inode&quo
commit 9ca0365422dedc7d231544f20806a62bae8cd48d
Author: Tomohiro Kusumi
Date: Wed Dec 7 03:19:14 2016 +0900
sbin/hammer: Fix direntry message in hammer recover
name could have already been free'd, so move it to the beginning.
Also enable it only on -v, just like inode
commit c34b35620acd656ab5b68422bf26c8dca591f1b4
Author: Tomohiro Kusumi
Date: Tue Dec 6 22:14:06 2016 +0900
sbin/hammer: Minor cleanup for hammer recover
The reason for moving "info.pfs_id = dict->pfs_id;" is because
PT_FIGURE only requires strlen of "P
commit 184aa224be091e65939c4afab03edc9ba127bd9b
Author: Tomohiro Kusumi
Date: Thu Dec 8 03:27:39 2016 +0900
sbin/hammer: Use HAMMER_OBJID_ROOT
Summary of changes:
sbin/hammer/cmd_recover.c | 8 +++-
1 file changed, 7 insertions(+), 1 deletion(-)
http://gitweb.dragonflybsd.org
401 - 500 of 1840 matches
Mail list logo