git: sbin/hammer: Add missing fflush(stdout) in 8b6688a4

2017-04-13 Thread Tomohiro Kusumi
commit 1ee016ee44126c121699ccf4289c1867a5085b69 Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com> Date: Fri Apr 14 00:44:55 2017 +0300 sbin/hammer: Add missing fflush(stdout) in 8b6688a4 Summary of changes: sbin/hammer/cmd_strip.c | 1 + 1 file changed, 1 insertion(+)

git: sbin/hammer: Fix hammer(8)

2017-04-15 Thread Tomohiro Kusumi
commit 9b21f734b3b80e0e81cabcb6ea074ddc8cdfc0e8 Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com> Date: Sun Apr 16 00:18:38 2017 +0300 sbin/hammer: Fix hammer(8) It's no longer HAMMER volume once stripped, so drop "HAMMER". Summary of changes: sbin/ham

git: sys/vfs/hammer: Use hammer_crc_t

2017-04-15 Thread Tomohiro Kusumi
commit 17b150c600a9d06b2d15292ef4cf2a27ff1d221d Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com> Date: Sun Apr 16 00:04:40 2017 +0300 sys/vfs/hammer: Use hammer_crc_t Use hammer_crc_t rather than uint32_t which is the same thing. This commit doesn't (and shouldn't) r

git: usr.sbin/fstyp: Improve formatting. (FreeBSD@GitHub dc9b2340)

2017-04-16 Thread Tomohiro Kusumi
commit cc05af1eafa243a86185f18e3174ea68ca619363 Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com> Date: Sun Apr 16 14:03:53 2017 +0300 usr.sbin/fstyp: Improve formatting. (FreeBSD@GitHub dc9b2340) Summary of changes: usr.sbin/fstyp/fstyp.8 | 3 ++- 1 file changed, 2 insertions

git: usr.sbin/autofs: Use proper argument order for calloc(3). (FreeBSD@GitHub 6add75fe)

2017-04-16 Thread Tomohiro Kusumi
commit 59b0b31639aa2df751c642e44abea14668cff452 Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com> Date: Sun Apr 16 03:15:31 2017 +0300 usr.sbin/autofs: Use proper argument order for calloc(3). (FreeBSD@GitHub 6add75fe) Summary of changes: usr.sbin/autofs/automountd.c

git: usr.sbin/autofs: Make autounmountd(8) not die when traced with "truss -p". (FreeBSD@GitHub 8381908c)

2017-04-16 Thread Tomohiro Kusumi
commit 8cdc3b5d92f656590ed6d15164eeb214893825cf Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com> Date: Sun Apr 16 03:17:50 2017 +0300 usr.sbin/autofs: Make autounmountd(8) not die when traced with "truss -p". (FreeBSD@GitHub 8381908c) Summary of changes:

git: usr.sbin/fstyp: Use NULL instead of 0 for pointers. (FreeBSD@GitHub 27f4c84a)

2017-04-16 Thread Tomohiro Kusumi
commit b5ba6292892161939e763063ad61854084aa2c1e Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com> Date: Sun Apr 16 14:06:47 2017 +0300 usr.sbin/fstyp: Use NULL instead of 0 for pointers. (FreeBSD@GitHub 27f4c84a) Summary of changes: usr.sbin/fstyp/fstyp.c | 2 +- 1 file chan

git: sbin/hammer: Have consistent naming for volume variables

2017-03-12 Thread Tomohiro Kusumi
commit 5ebff42a8e921bcf7196389db1a3e5fd76d17a62 Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com> Date: Thu Mar 9 21:32:40 2017 +0200 sbin/hammer: Have consistent naming for volume variables Use *volume. Userspace is mix of *vol and *volume for no reason. sys/vfs/

git: sbin/hammer: Have consistent naming for buffer variables

2017-03-12 Thread Tomohiro Kusumi
commit 52c15408ad7e64ec2d7df27f82333e5a5dc1d41f Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com> Date: Thu Mar 9 21:31:51 2017 +0200 sbin/hammer: Have consistent naming for buffer variables Use *buffer. Userspace is mix of *buf and *buffer for no reason. sys/vfs/

git: sys/vfs/hammer: Cleanup hammer_modify_node()

2017-03-08 Thread Tomohiro Kusumi
commit f8baaab1e883339ede14158e09f71ea7ba3abd53 Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com> Date: Wed Mar 8 21:10:12 2017 +0200 sys/vfs/hammer: Cleanup hammer_modify_node() The only purpose of crcptr was to avoid split into multiple lines (according to dillon@),

git: sbin/hammer: Test volume version in __verify_volume()

2017-04-14 Thread Tomohiro Kusumi
commit c967446b57103173bbf944d25a36b8818bad00a1 Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com> Date: Fri Apr 14 15:46:56 2017 +0300 sbin/hammer: Test volume version in __verify_volume() Since now that HammerVersion is always used by CRC operations, and blkdevs

git: sbin/hammer: Fix indentation made by 4c09d9c4

2017-04-14 Thread Tomohiro Kusumi
commit 51b976e85e7c01586027ceec552075742571885e Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com> Date: Fri Apr 14 19:25:48 2017 +0300 sbin/hammer: Fix indentation made by 4c09d9c4 Summary of changes: sbin/hammer/cmd_show.c | 24 1 file changed, 12 inse

git: sbin/hammer: Fix get_buffer_data()'s wrong xor for undo buffer caching

2017-07-07 Thread Tomohiro Kusumi
commit e179dc662730328d2e2ab43f659c0d2fc9319d98 Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com> Date: Sun Jun 25 02:17:09 2017 +0300 sbin/hammer: Fix get_buffer_data()'s wrong xor for undo buffer caching As mentioned in 830ab40e "sbin/hammer: Redo e4323571 pa

git: sys/vfs/hammer: Fix a comment on nresolving PFS

2017-07-07 Thread Tomohiro Kusumi
commit 750a1c766f441b0330f0cf27ee7a45120525c778 Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com> Date: Sun Jun 25 00:56:58 2017 +0300 sys/vfs/hammer: Fix a comment on nresolving PFS On nresolving a PFS, the entry name to be resolved is the PFS itself, whether it's p

git: sys/vfs/hammer: Drop wrong info on inode# from hammer(5)

2017-07-07 Thread Tomohiro Kusumi
commit 449a19ac08326740f5a2af0f724d7b4154ef033f Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com> Date: Sat Jun 24 22:38:42 2017 +0300 sys/vfs/hammer: Drop wrong info on inode# from hammer(5) PFS has nothing to do with namespace of inode#. The only exception is th

git: sbin/hammer: Drop rerundant ()

2017-07-07 Thread Tomohiro Kusumi
commit 035b4e5e515ea9cc3be46d108b95eae2e094223a Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com> Date: Sun Jul 2 23:01:40 2017 +0300 sbin/hammer: Drop rerundant () Summary of changes: sbin/hammer/ondisk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

git: sbin/hammer: Move cache to tailq end when get_buffer_data() has a valid cache

2017-07-07 Thread Tomohiro Kusumi
commit 63eacb74267a5a2776a215b529ab1a6f6939b80b Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com> Date: Sun Jul 2 21:30:08 2017 +0300 sbin/hammer: Move cache to tailq end when get_buffer_data() has a valid cache This is the same as what get_buffer() does when new allo

git: sbin/newfs_hammer2: Fix typo in newfs_hammer2(8)

2017-09-23 Thread Tomohiro Kusumi
commit e5c02cf8b78ad522dd0c924c75646c99fa621a0f Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com> Date: Sat Sep 23 14:27:20 2017 +0300 sbin/newfs_hammer2: Fix typo in newfs_hammer2(8) of of Summary of changes: sbin/newfs_hammer2/newfs_hammer2.8 | 2 +- 1 file chan

git: sbin/hammer: Add uuid.c

2017-09-23 Thread Tomohiro Kusumi
commit 3cd578eda6da1a44261fbcd0172ed900599d6d92 Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com> Date: Thu Sep 21 19:06:16 2017 +0300 sbin/hammer: Add uuid.c Add a simple wrapper over uuid functions for better portability, similar to sys/vfs/hammer/hammer_crc.h

git: sys/vfs/hammer: Add typedef hammer_uuid_t

2017-09-23 Thread Tomohiro Kusumi
commit 90da8fc8d95e1895d63ebafb10404337f9f921f4 Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com> Date: Thu Sep 21 19:06:37 2017 +0300 sys/vfs/hammer: Add typedef hammer_uuid_t Add typedef for uuid_t for better portability, similar to hammer_crc_t and other hammer

git: usr.sbin/fstyp: Add initial HAMMER2 support

2017-09-23 Thread Tomohiro Kusumi
commit 030fdd8afa5af5b5ad92b091fb9f10f2e276c4dd Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com> Date: Sat Sep 23 01:17:20 2017 +0300 usr.sbin/fstyp: Add initial HAMMER2 support -l option and multiple/partial volumes are not supported yet. Summary of changes: usr.sbin

git: sbin/newfs_hammer: Use hwarnx() instead of hwarn()

2017-09-19 Thread Tomohiro Kusumi
commit 894963997e2f22a396941d81f6d64364e525cb57 Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com> Date: Sat Sep 16 15:23:36 2017 +0300 sbin/newfs_hammer: Use hwarnx() instead of hwarn() This one should be with x. Summary of changes: sbin/newfs_hammer/newfs_hammer.c | 2

git: sbin/newfs_hammer: Use uuid_create(3) instead of uuidgen(2)

2017-09-19 Thread Tomohiro Kusumi
commit f5cbe1f7dfd662d261beeb330e9ee77fdc52c78b Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com> Date: Sat Sep 16 19:02:55 2017 +0300 sbin/newfs_hammer: Use uuid_create(3) instead of uuidgen(2) HAMMER userspace uses uuid_create(3) except for this one. uuidgen(2) s

git: sbin/hammer: Use uuid_compare(3) instead of bcmp(3)

2017-09-19 Thread Tomohiro Kusumi
commit 118205ce7371bbc32134ba28dbe204993eb72a71 Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com> Date: Sat Sep 16 20:53:35 2017 +0300 sbin/hammer: Use uuid_compare(3) instead of bcmp(3) Summary of changes: sbin/hammer/cmd_cleanup.c | 3 ++- 1 file changed, 2 insertions(+), 1 de

git: sbin/hammer: Use uuid_compare(3) instead of bcmp(3)

2017-09-25 Thread Tomohiro Kusumi
commit 16a0098c0741d1d97cb86378b7320d650055ae3b Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com> Date: Mon Sep 25 23:19:48 2017 +0300 sbin/hammer: Use uuid_compare(3) instead of bcmp(3) (missed ones from 118205ce) Summary of changes: sbin/hammer/cmd_mirror.c | 3 +--

git: sys/vfs/hammer: Use kuuid_compare() instead of bcmp()

2017-09-24 Thread Tomohiro Kusumi
commit f29237b008818025720a28de524b713b6786e9fb Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com> Date: Sat Sep 23 23:43:52 2017 +0300 sys/vfs/hammer: Use kuuid_compare() instead of bcmp() though kuuid_compare() is probably slower than bcmp() in most cases.

git: sbin/hammer: Cleanup header includes

2017-09-24 Thread Tomohiro Kusumi
commit 41ae08629e82bf5408758ede62d84c59649ad7af Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com> Date: Sat Sep 23 23:06:17 2017 +0300 sbin/hammer: Cleanup header includes Summary of changes: sbin/hammer/cmd_blockmap.c | 2 ++ sbin/hammer/cmd_cleanup.c| 4 ++--

git: sbin/mount_hammer: Remove redundant test_volumes() on mount(2) failure

2017-09-30 Thread Tomohiro Kusumi
commit 1767454fc3cdb440b6ee35b74ec70f13687cd169 Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com> Date: Sat Sep 30 14:21:25 2017 +0300 sbin/mount_hammer: Remove redundant test_volumes() on mount(2) failure This code was originally added by 1a607e3e which added signature

git: sbin/hammer: Minor cleanup

2017-09-30 Thread Tomohiro Kusumi
commit bbe85e926256b0a59d152b01e4f2471f9337998d Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com> Date: Sat Sep 30 12:29:07 2017 +0300 sbin/hammer: Minor cleanup The prototype was originally brought (copied) from uuid(3). Summary of changes: sbin/hammer/hammer_util

git: sys/vfs/hammer: Check root voume# is 0 on mount(2)

2017-09-30 Thread Tomohiro Kusumi
commit ed84682cd619911937e48277b48ba140efca43ea Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com> Date: Sat Sep 30 14:17:32 2017 +0300 sys/vfs/hammer: Check root voume# is 0 on mount(2) We could check this in addition to the existing conditional to know the

git: sbin/hammer: Add UUID string on error and blockmap,show

2017-09-30 Thread Tomohiro Kusumi
commit d04bb327d85bc66ac64f2bda8b2eaf482d07beb6 Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com> Date: Sat Sep 30 13:12:51 2017 +0300 sbin/hammer: Add UUID string on error and blockmap,show to make clear whether ondisk vol_fstype UUID is simply wrong or due to byte

git: sbin/hammer: Fix compile-time warning by some Linux distros

2017-10-01 Thread Tomohiro Kusumi
commit eccac4ffb5982fd205a1701631a4c37bfa42cc25 Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com> Date: Sun Oct 1 15:37:54 2017 +0300 sbin/hammer: Fix compile-time warning by some Linux distros -- test_dupkey.c: In function 'main': test_dupkey.c:54:1: warning: c

git: sbin/newfs_hammer2: Check S_ISREG()

2017-10-12 Thread Tomohiro Kusumi
commit d6cfa63feddb7be6edb1d190c41e1729e54d244e Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com> Date: Thu Oct 12 22:48:11 2017 +0300 sbin/newfs_hammer2: Check S_ISREG() The comment says as follows, so check S_ISREG(). /* Allow the formatting of regular files as H

git: sbin/newfs_hammer2: Add missing free() for uuid_to_string'd strings

2017-10-12 Thread Tomohiro Kusumi
commit d374dfe770eabbb49cff27dc61245e450cff5e78 Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com> Date: Thu Oct 12 23:08:52 2017 +0300 sbin/newfs_hammer2: Add missing free() for uuid_to_string'd strings Summary of changes: sbin/newfs_hammer2/newfs_hammer2.c | 6 ++ 1 file c

git: usr.sbin/fstyp: Update fstyp(8) for HAMMER2

2017-10-12 Thread Tomohiro Kusumi
commit 9d3c19a2e9a1211922e122a8108e49acb3625ff7 Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com> Date: Thu Oct 12 23:03:00 2017 +0300 usr.sbin/fstyp: Update fstyp(8) for HAMMER2 Summary of changes: usr.sbin/fstyp/fstyp.8 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)

git: sbin/newfs_hammer2: Fix compile-time warning on Linux distros (gcc6)

2017-10-12 Thread Tomohiro Kusumi
commit c838491916926c7fe3e2a1927f953b794f44fc4f Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com> Date: Thu Oct 12 22:57:45 2017 +0300 sbin/newfs_hammer2: Fix compile-time warning on Linux distros (gcc6) -- warning: pointer targets in passing argument 1 of 'snprintf'

git: autofs: Add etc/autofs/include_nis

2017-11-25 Thread Tomohiro Kusumi
commit d8fd7fcdbf2c025fb3d6779133b768574a0a9f90 Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com> Date: Sat Nov 25 19:53:20 2017 +0200 autofs: Add etc/autofs/include_nis FreeBSD@GitHub e9b93842e9 Summary of changes: etc/autofs/Makefile| 6 +- etc/autofs/include_nis

git: kqueue: Fix kqueue(2) EVFILT_FS section

2017-11-21 Thread Tomohiro Kusumi
commit d7009a0b5222449be40aaba76ea8a056cee9f3db Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com> Date: Tue Nov 21 23:28:02 2017 +0200 kqueue: Fix kqueue(2) EVFILT_FS section Fix 05d3db1bc901548d6335d701c773c537d4ef42fd. EVFILT_FS filter currently does not use

git: sys/vfs/autofs: Add VFCF_MPSAFE

2018-06-10 Thread Tomohiro Kusumi
commit 97db17b9ae0f40378f0bad9dc9f38750a8a9bb07 Author: Tomohiro Kusumi Date: Sun Jun 10 11:46:33 2018 -0700 sys/vfs/autofs: Add VFCF_MPSAFE Summary of changes: sys/vfs/autofs/autofs_vfsops.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) http://gitweb.dragonflybsd.org

git: sys/vfs/autofs: Drop VFCF_NETWORK

2018-06-10 Thread Tomohiro Kusumi
commit 5127b3b0d2ad304e13bc25188102f1deee6ab474 Author: Tomohiro Kusumi Date: Sun Jun 10 11:41:59 2018 -0700 sys/vfs/autofs: Drop VFCF_NETWORK VFCF_NETWORK came from FreeBSD implementation, but autofs really has nothing to do with network. Summary of changes: sys/vfs

git: sys/vfs/autofs: Drop unneeded bzero on node/request ctor

2018-06-10 Thread Tomohiro Kusumi
commit a5dfdd2b24c81a8cc6f327c1191e3bfb73e2d1b7 Author: Tomohiro Kusumi Date: Sun Jun 10 09:57:05 2018 -0700 sys/vfs/autofs: Drop unneeded bzero on node/request ctor Summary of changes: sys/vfs/autofs/autofs.c| 3 +++ sys/vfs/autofs/autofs_vfsops.c | 26

git: sbin/newfs_hammer2: Explicitly include

2018-06-16 Thread Tomohiro Kusumi
commit 351f4ddf663d1f1c56409c6a1d8924d395e6a75d Author: Tomohiro Kusumi Date: Sat Jun 16 08:40:14 2018 -0700 sbin/newfs_hammer2: Explicitly include generally helps become more portable on Linux and other platforms. Summary of changes: sbin/newfs_hammer2/newfs_hammer2.c | 1

git: sys/vfs/autofs: Change autofs_softc::sc_lock to use mutex(9)

2018-06-12 Thread Tomohiro Kusumi
commit 2137724ad5a91628e60b420c466d8ddf266266d5 Author: Tomohiro Kusumi Date: Tue Jun 12 05:25:56 2018 -0700 sys/vfs/autofs: Change autofs_softc::sc_lock to use mutex(9) Summary of changes: sys/vfs/autofs/autofs.c| 73 +- sys/vfs/autofs

git: usr.bin/undo: Explicitly include

2018-06-16 Thread Tomohiro Kusumi
commit dcb5d66bed82234bab2158bf86efad6ef6c4b6ab Author: Tomohiro Kusumi Date: Sat Jun 16 08:37:26 2018 -0700 usr.bin/undo: Explicitly include generally helps become more portable on Linux and other platforms. Summary of changes: usr.bin/undo/undo.c | 1 + 1 file changed, 1

git: sbin/hammer: Explicitly include

2018-06-16 Thread Tomohiro Kusumi
commit 1ebd8403f3e872874ddfb128deb1dd406be19f17 Author: Tomohiro Kusumi Date: Sat Jun 16 08:39:48 2018 -0700 sbin/hammer: Explicitly include generally helps become more portable on Linux and other platforms. Summary of changes: sbin/hammer/hammer_util.h | 1 + 1 file changed

git: sys/vfs/autofs: Add Copyright

2018-06-11 Thread Tomohiro Kusumi
commit d53d00abbebb746c756238db87b1fb613876e0f8 Author: Tomohiro Kusumi Date: Mon Jun 11 08:47:27 2018 -0700 sys/vfs/autofs: Add Copyright Summary of changes: sys/vfs/autofs/autofs.c| 1 + sys/vfs/autofs/autofs.h| 1 + sys/vfs/autofs/autofs_ioctl.h | 1 + sys/vfs

git: sys/vfs/autofs: #if0 unsupported vfs.autofs.mount_on_stat

2018-06-11 Thread Tomohiro Kusumi
commit 888acc39a1c711adeab821827fcdf56369e0abe9 Author: Tomohiro Kusumi Date: Mon Jun 11 08:47:08 2018 -0700 sys/vfs/autofs: #if0 unsupported vfs.autofs.mount_on_stat Keep the code since this should be implemented. Summary of changes: sys/vfs/autofs/autofs.c | 7

git: sbin/mount_autofs: Use __DECONST() instead of local __UNCONST()

2018-05-03 Thread Tomohiro Kusumi
commit 7cb51127dd1d8da487c699c94e7216e58e9edd46 Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com> Date: Wed May 2 23:51:02 2018 -0700 sbin/mount_autofs: Use __DECONST() instead of local __UNCONST() Summary of changes: sbin/mount_autofs/mount_autofs.c | 13 - 1 file c

git: lib/libdmsg: Fix compile-time warning on Linux

2018-07-03 Thread Tomohiro Kusumi
commit cb4d9e67d8500c4eabf5acd24f0631778ec69f09 Author: Tomohiro Kusumi Date: Tue Jul 3 21:39:34 2018 -0700 lib/libdmsg: Fix compile-time warning on Linux warning: pointer targets in passing argument 2 of 'crypto_algos[0].init' differ in signedness note: expected 'char

git: usr.sbin/fstyp: Remove local MIN() definition

2018-01-06 Thread Tomohiro Kusumi
commit eff346a50f2a4926688648c1b1904f9937419958 Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com> Date: Sat Jan 6 20:16:46 2018 +0200 usr.sbin/fstyp: Remove local MIN() definition This isn't needed. Having local MIN() also broke compilation on NetBSD with ZFS s

git: etc/autofs: Cleanup trailing whitespaces

2018-01-06 Thread Tomohiro Kusumi
commit 8a42714f54b640c1638d71abcf2f4a6db5d36256 Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com> Date: Sat Jan 6 20:28:14 2018 +0200 etc/autofs: Cleanup trailing whitespaces This generates diff between these and FreeBSD scripts. Summary of changes: etc/autofs/inclu

git: etc/autofs: Sync with FreeBSD commits

2018-01-06 Thread Tomohiro Kusumi
commit d5b2d2c468ded62d9403bdbdceb1e53ef73f895c Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com> Date: Sat Jan 6 20:37:53 2018 +0200 etc/autofs: Sync with FreeBSD commits Bring in below from FreeBSD@GitHub in 1 commit. 64382aa4e68 Add /etc/autofs/include_nis,

git: sys/vfs/autofs: Cleanups

2018-01-07 Thread Tomohiro Kusumi
commit caaec4e303cff867f420c4e4d2821b7d6ac4638e Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com> Date: Sun Jan 7 18:51:52 2018 +0200 sys/vfs/autofs: Cleanups Summary of changes: sys/vfs/autofs/autofs.h | 13 +++-- sys/vfs/autofs/autofs_mount.h | 4 sys/vfs/

git: sbin/mount_autofs: Port mount_autofs(8) from NetBSD

2018-01-15 Thread Tomohiro Kusumi
commit e0c81dfeccab0e0b23107566dabd926fb90eafa9 Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com> Date: Mon Jan 15 17:37:53 2018 +0200 sbin/mount_autofs: Port mount_autofs(8) from NetBSD Christos added this to NetBSD, so why not for DragonFly. One will write something

git: sbin/mount_autofs: Change include path from fs/ to vfs/

2018-01-15 Thread Tomohiro Kusumi
commit c4189c6c55c4b22a50229bba5f853f4bd6f9d552 Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com> Date: Mon Jan 15 19:23:55 2018 +0200 sbin/mount_autofs: Change include path from fs/ to vfs/ /usr/include/fs seems to exist as a symlink to vfs/, but change include path

git: sys/vfs/autofs: prevent assert on unmount.

2018-01-14 Thread Tomohiro Kusumi
commit 1bfb99b1b153fdeeebc2019ea9c3dd8a73450f00 Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com> Date: Sun Jan 14 16:14:46 2018 +0200 sys/vfs/autofs: prevent assert on unmount. Bring in below commit from NetBSD/autofs. This hasn't existed in FreeBSD and Dra

git: usr.sbin/autofs: Make automount(8) call chdir("/") before create_directory()

2018-01-12 Thread Tomohiro Kusumi
commit 108ed43a1e5e7ff8f890085e206d970562bf4a7c Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com> Date: Fri Jan 12 21:46:53 2018 +0200 usr.sbin/autofs: Make automount(8) call chdir("/") before create_directory() https://bugs.freebsd.org/bugzilla/show_b

git: sys/vfs/autofs: Cleanup autofs_mount()

2018-01-11 Thread Tomohiro Kusumi
commit 52d8539faa68412db6dd25e10af10289a2a58255 Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com> Date: Thu Jan 11 23:19:20 2018 +0200 sys/vfs/autofs: Cleanup autofs_mount() Drop unneeded local char[MAXPATHLEN] variable. Bring in comments I've added to NetBSD/

git: etc/autofs: Sync special_media with FreeBSD

2018-02-12 Thread Tomohiro Kusumi
commit 180195fd1b680a1c12bd156d8d3b186970b36510 Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com> Date: Mon Feb 12 19:24:24 2018 +0900 etc/autofs: Sync special_media with FreeBSD Summary of changes: etc/autofs/special_media | 25 - 1 file changed, 20 inse

git: usr.sbin/fstyp: Bring in exFAT support from FreeBSD

2018-02-12 Thread Tomohiro Kusumi
commit 27ded0ea365b08dd45690c3fcfd37fad3d36976f Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com> Date: Mon Feb 12 19:22:40 2018 +0900 usr.sbin/fstyp: Bring in exFAT support from FreeBSD exFAT support was added by below FreeBSD@GitHub commit i

git: etc/autofs: Cleanup trailing whitespaces

2018-02-12 Thread Tomohiro Kusumi
commit 48a93f514f93ff671b7b6c9bbed54d45b3f65180 Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com> Date: Tue Feb 13 11:28:15 2018 +0900 etc/autofs: Cleanup trailing whitespaces This generates diff from FreeBSD. Summary of changes: etc/autofs/special_media | 8

git: sys/vfs/autofs: Remove #if0'd export related code

2018-02-13 Thread Tomohiro Kusumi
commit 5e4f9d103731e81813e634ec6a4ac0e3ae6a0ae4 Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com> Date: Wed Feb 14 03:33:30 2018 +0900 sys/vfs/autofs: Remove #if0'd export related code Exporting is never going to be implemented. Summary of changes: sys/vfs/autofs/au

git: sys/vfs/autofs: Cleanups

2018-02-13 Thread Tomohiro Kusumi
commit b112b66964202d7e2d748cc4e4dc25e0fa779f82 Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com> Date: Wed Feb 14 02:10:39 2018 +0900 sys/vfs/autofs: Cleanups Summary of changes: sys/vfs/autofs/autofs.c | 2 +- sys/vfs/autofs/autofs_vnops.c | 3 ++- 2 files changed, 3 inse

git: sbin/hammer: Fix compile error on Linux

2018-02-13 Thread Tomohiro Kusumi
commit cdd92e421a16d2c3e42cb0ca629b3bebcd0cbf9f Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com> Date: Wed Feb 14 08:48:39 2018 +0900 sbin/hammer: Fix compile error on Linux Failed with gcc 4.4.7 in CentOS 6.x. -- cmd_recover.c:78: error: redefinition of t

git: sys/vfs/autofs: Remove AUTOFS_ASSERT_*LOCKED()

2018-02-13 Thread Tomohiro Kusumi
commit 6be174c1f53e8f6b64e57251aa0d6cc70538793e Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com> Date: Wed Feb 14 08:35:32 2018 +0900 sys/vfs/autofs: Remove AUTOFS_ASSERT_*LOCKED() These macros came from FreeBSD, but more readable without these. Summary of changes: s

git: sys/vfs/autofs: Change autofs_node::an_vnode_lock to use mutex(9)

2018-02-13 Thread Tomohiro Kusumi
commit bfccbb767b7ebbb8fc90ae72d5a21bc7fb719efe Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com> Date: Wed Feb 14 06:57:32 2018 +0900 sys/vfs/autofs: Change autofs_node::an_vnode_lock to use mutex(9) Summary of changes: sys/vfs/autofs/autofs.h | 3 ++- sys/vfs/

git: sys/vfs/autofs: Change autofs_mount::am_lock to use mutex(9)

2018-02-13 Thread Tomohiro Kusumi
commit bc6139d4b8b64078d80eba67b9c9f1f79ab2e12f Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com> Date: Wed Feb 14 07:13:13 2018 +0900 sys/vfs/autofs: Change autofs_mount::am_lock to use mutex(9) Summary of changes: sys/vfs/autofs/autofs.c| 10 +- sys/vfs/

git: sbin/hammer: Fix compile warning on Linux

2018-02-16 Thread Tomohiro Kusumi
commit 5f87bdedfbeef14602ae9bfff910fb1ca2278b63 Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com> Date: Sat Feb 17 10:49:39 2018 +0900 sbin/hammer: Fix compile warning on Linux Warned by gcc 7.3.1 in Fedora. Extend the size of destination string. dirent::d_name[]

git: sys/vfs/autofs: Cleanup

2018-07-27 Thread Tomohiro Kusumi
commit 2f752b64598e15f8647fc8b8481b3b003cd5888e Author: Tomohiro Kusumi Date: Thu Jul 26 11:14:09 2018 -0700 sys/vfs/autofs: Cleanup Summary of changes: sys/vfs/autofs/autofs.c | 9 +++-- sys/vfs/autofs/autofs_vnops.c | 5 +++-- 2 files changed, 6 insertions(+), 8 deletions

git: sys/vfs/autofs: Make {test,nlookup}_fs_root() return bool

2018-07-27 Thread Tomohiro Kusumi
commit f568b8a36137fc2eadf260406f622f8d4bfff0a4 Author: Tomohiro Kusumi Date: Thu Jul 26 11:18:25 2018 -0700 sys/vfs/autofs: Make {test,nlookup}_fs_root() return bool Change return type of DragonFly specific utility functions for triggering (very different from FreeBSD

Re: git: fdisk, gpt - Support trim on recent kernels

2018-08-01 Thread Tomohiro Kusumi
Matthew Dillon : > > > commit d9306807fd00040e0598140bd4c634685f805510 > Author: Matthew Dillon > Date: Wed Aug 1 14:38:34 2018 -0700 > > fdisk, gpt - Support trim on recent kernels > > * Recent kernels removed the 'trim' sysctls. Devices now allow trim by > default. > > *

git: sys/vfs/autofs: Change u_xxx -> unsigned xxx

2018-08-12 Thread Tomohiro Kusumi
commit 0b1d8a0d5dcb276e6f33a848b8337f8acd0d60f5 Author: Tomohiro Kusumi Date: Sun Aug 12 04:26:59 2018 -0700 sys/vfs/autofs: Change u_xxx -> unsigned xxx (ap->a_cmd and refcount apis are of u_xxx) Summary of changes: sys/vfs/autofs/autofs.c | 2 +- sys/vfs/autofs/autofs

git: sys/vfs/autofs: Cleanups

2018-07-24 Thread Tomohiro Kusumi
commit 74565ee06d258f57594797cafc26efc65aa1b4a3 Author: Tomohiro Kusumi Date: Sun Jul 22 09:06:47 2018 -0700 sys/vfs/autofs: Cleanups Summary of changes: sys/vfs/autofs/autofs.c| 44 +- sys/vfs/autofs/autofs_vfsops.c | 15

git: sys/vfs/hammer: Cleanup CRC functions

2018-07-05 Thread Tomohiro Kusumi
commit 9545e52d6402b584c9013f8d4a5d05f6f43398e8 Author: Tomohiro Kusumi Date: Wed Jul 4 22:44:02 2018 -0700 sys/vfs/hammer: Cleanup CRC functions The inner cmp in nested `vol_version >= HAMMER_VOL_VERSION_SEVEN` conditional in hammer_crc_test_xxx() mostly get optimized

git: sbin/hammer2: Drop unused header includes in icrc.c

2018-07-07 Thread Tomohiro Kusumi
commit 4903227ff44734a5637095b8267daa5cfdc5b67d Author: Tomohiro Kusumi Date: Sat Jul 7 01:07:21 2018 -0700 sbin/hammer2: Drop unused header includes in icrc.c libdmsg, UUID, and HAMMER2 ondisk definitions are not needed for CRC calculation. Summary of changes: sbin

git: sbin/hammer2: Explicitly include for stat(2)

2018-07-07 Thread Tomohiro Kusumi
commit dec3d4eeab4c720eb58eafa0e2ae328b04a69a5b Author: Tomohiro Kusumi Date: Sat Jul 7 05:28:56 2018 -0700 sbin/hammer2: Explicitly include for stat(2) Fix compile error on Linux. Summary of changes: sbin/hammer2/hammer2.h | 1 + 1 file changed, 1 insertion(+) http

git: sbin/mount_autofs: Add description

2018-01-22 Thread Tomohiro Kusumi
commit 192d378b81e754e3e605c81fa7336c668b1f7023 Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com> Date: Mon Jan 22 17:29:46 2018 +0200 sbin/mount_autofs: Add description TL;DR users won't be running this command to mount autofs. Having autofs_enable=YES won

git: usr.sbin/autofs: Drop unneeded header include

2018-01-21 Thread Tomohiro Kusumi
commit ee46a5721414c0a073c726bee51b75b8b9f8fc4d Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com> Date: Sun Jan 21 19:49:56 2018 +0200 usr.sbin/autofs: Drop unneeded header include common.c has no dependency on autofs api itself. Summary of changes: usr.sbin/autofs/co

git: sys/vfs/autofs: Cleanups

2018-03-06 Thread Tomohiro Kusumi
commit 662e8088622360d8af1155902a0f8b55a451a63d Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com> Date: Wed Mar 7 03:27:04 2018 +0900 sys/vfs/autofs: Cleanups Move local varaibles to inner scopes where possible. The existing local variable declarations are mostl

git: sys/vfs/autofs: Use d_xxx_t typedefs for /dev/autofs

2018-04-10 Thread Tomohiro Kusumi
commit 41c4812410c68fe6139f44c5d86d117dad105c09 Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com> Date: Tue Apr 10 17:44:58 2018 +0900 sys/vfs/autofs: Use d_xxx_t typedefs for /dev/autofs Summary of changes: sys/vfs/autofs/autofs.c | 6 +++--- 1 file changed, 3 insertions

Re: git: Move the IOCTLTRIM ioctl to a better header and rename it to DAIOCTRIM.

2018-04-10 Thread Tomohiro Kusumi
2018-04-10 22:13 GMT+09:00 Sascha Wildner : > > commit 32506cfa691f80faa47486d6f94a98ae12387eeb > Author: Sascha Wildner > Date: Tue Apr 10 15:11:49 2018 +0200 > > Move the IOCTLTRIM ioctl to a better header and rename it to DAIOCTRIM. > >

Re: git: libc: Replace vis(3) and unvis(3) files with NetBSD versions

2018-04-09 Thread Tomohiro Kusumi
nice updates 2018-04-10 5:24 GMT+09:00 Francois Tigeot : > > commit 4be4de019fe4a28d5378192245290895096def17 > Author: François Tigeot > Date: Mon Apr 9 21:54:26 2018 +0200 > > libc: Replace vis(3) and unvis(3) files with NetBSD

git: sbin/hammer: Drop _X macro for hammer show

2018-04-21 Thread Tomohiro Kusumi
commit dcf5173ca760ee08d704d08a8b5e30f30b0177ef Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com> Date: Sat Apr 21 14:58:36 2018 -0700 sbin/hammer: Drop _X macro for hammer show Also reduce supported indent levels from 17 to 10. 17 levels with 62 fanouts for in

git: sys/vfs/autofs: Use ksnprintf() (sync with NetBSD)

2018-04-20 Thread Tomohiro Kusumi
commit a5d18315b411560ede0833ac792e9c8655e592b0 Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com> Date: Fri Apr 20 08:01:30 2018 -0700 sys/vfs/autofs: Use ksnprintf() (sync with NetBSD) FreeBSD and DragonFly had strcpy()+strcat(). NetBSD changed it to snprintf(). S

git: sys/vfs/autofs: Fix a comment

2018-04-20 Thread Tomohiro Kusumi
commit d0b59b8a17646d0fd692c020a7d99f1e4dd6ad6f Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com> Date: Fri Apr 20 08:00:57 2018 -0700 sys/vfs/autofs: Fix a comment This isn't really a FALLTHROUGH. Not sure why I even originally added this since this had never e

git: sys/vfs/autofs: Cleanups (sync with NetBSD and OpenBSD)

2018-03-26 Thread Tomohiro Kusumi
commit add630f0972670974657514385cc9a70e241cdff Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com> Date: Tue Mar 27 00:12:59 2018 +0900 sys/vfs/autofs: Cleanups (sync with NetBSD and OpenBSD) FreeBSD has these in autofs.c, but only vfsops needs init/uninit. Summary of c

git: sys/vfs/autofs: Revert 1bfb99b1b1("prevent assert on unmount")

2018-03-24 Thread Tomohiro Kusumi
commit 072355267a78ef9c72e8dccd4b7aaf7321be5ba1 Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com> Date: Sat Mar 24 18:18:00 2018 +0900 sys/vfs/autofs: Revert 1bfb99b1b1("prevent assert on unmount") 1bfb99b1b1 originally brought from NetBSD was not correct.

git: sys/vfs/autofs: Don't dereference vnode pointer if allocation failed

2018-06-24 Thread Tomohiro Kusumi
commit f94d0241d75657b3d11d9e575e86802d596155d1 Author: Tomohiro Kusumi Date: Sun Jun 24 05:52:26 2018 -0700 sys/vfs/autofs: Don't dereference vnode pointer if allocation failed Summary of changes: sys/vfs/autofs/autofs_vfsops.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions

git: sys/vfs/autofs: Install vnops after root dir is initialized

2018-06-24 Thread Tomohiro Kusumi
commit 636b93583f89810acb765dcd6022ce585f2764f8 Author: Tomohiro Kusumi Date: Sun Jun 24 05:27:01 2018 -0700 sys/vfs/autofs: Install vnops after root dir is initialized Summary of changes: sys/vfs/autofs/autofs_vfsops.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) http

git: sys/vfs/autofs: Simplify vfs_root()

2018-06-24 Thread Tomohiro Kusumi
commit d3e56a2a2065057260dc863e26b63dc2a01bd14f Author: Tomohiro Kusumi Date: Sun Jun 24 05:19:47 2018 -0700 sys/vfs/autofs: Simplify vfs_root() The root dir is created on mount time, and must exist by the time vfs_root() is called. Summary of changes: sys/vfs/autofs

git: sbin/hammer2: Silence -Wformat-truncation= warning on Linux (gcc 7.3)

2019-01-12 Thread Tomohiro Kusumi
commit c5122b6a551adca512e12cc697805fd194e186fa Author: Tomohiro Kusumi Date: Sun Jan 13 14:40:19 2019 -0800 sbin/hammer2: Silence -Wformat-truncation= warning on Linux (gcc 7.3) filename[HAMMER2_INODE_MAXNAME] may not be sufficient if snprintf source pfs.name string

git: sys/vfs/fuse: Add fuse_vop_{get,put}pages()

2019-04-02 Thread Tomohiro Kusumi
commit 0660ce6d7a089cd9432236debb3e432b6a8d739b Author: Tomohiro Kusumi Date: Tue Apr 2 02:31:59 2019 +0900 sys/vfs/fuse: Add fuse_vop_{get,put}pages() No functional changes (yet). Summary of changes: sys/vfs/fuse/fuse_vnops.c | 26 -- 1 file changed

git: sys/vfs/fuse: Add assertions

2019-04-02 Thread Tomohiro Kusumi
commit 1243142a5b1ce681157b05f10355763acf7048e4 Author: Tomohiro Kusumi Date: Tue Apr 2 02:25:07 2019 +0900 sys/vfs/fuse: Add assertions Summary of changes: sys/vfs/fuse/fuse_node.c | 2 ++ 1 file changed, 2 insertions(+) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff

git: sys/vfs: Remove .vop_mmap implementations

2019-04-02 Thread Tomohiro Kusumi
commit b56a444bd12208907985cf2397fd2a72d7ff2ba3 Author: Tomohiro Kusumi Date: Tue Apr 2 02:40:27 2019 +0900 sys/vfs: Remove .vop_mmap implementations These either return EINVAL or panic. VOP_MMAP() is unused in the first place. (FreeBSD got rid of VOP_MMAP

git: sys/vfs/fuse: Drop PCATCH from tsleep on waiting IPC completion

2019-04-03 Thread Tomohiro Kusumi
commit 419ae2ab33adc334dbd5376707059d86f40b9d5d Author: Tomohiro Kusumi Date: Wed Apr 3 00:30:11 2019 +0900 sys/vfs/fuse: Drop PCATCH from tsleep on waiting IPC completion Even with kern_sigprocmask(SIG_BLOCK) called prior to tsleep(9), tsleep with PCATCH flag can still

git: sys/vfs/fuse: Mark /dev/autofs with D_MPSAFE

2019-04-05 Thread Tomohiro Kusumi
commit cb953f034079dab1ad277b5f44b8ae5bab2b079a Author: Tomohiro Kusumi Date: Sat Apr 6 04:15:20 2019 +0900 sys/vfs/fuse: Mark /dev/autofs with D_MPSAFE /dev/autofs was left without mpsafe flag. Summary of changes: sys/vfs/autofs/autofs.c | 2 +- 1 file changed, 1 insertion

git: sys/vfs/fuse: Fix confusing vop_write_dirent() retval test

2019-04-05 Thread Tomohiro Kusumi
commit 3c817f1ea603d010743de4357f46729ba30d25df Author: Tomohiro Kusumi Date: Sat Apr 6 05:59:45 2019 +0900 sys/vfs/fuse: Fix confusing vop_write_dirent() retval test vop_write_dirent() has confusing return value (bug). When vop_write_dirent() returns non zero, *error

git: sys/vfs/autofs: Use VFS_STATFS()

2019-04-05 Thread Tomohiro Kusumi
commit aa2533c184e58ade4fa76dbc800a783b0f8c387a Author: Tomohiro Kusumi Date: Sat Apr 6 05:52:35 2019 +0900 sys/vfs/autofs: Use VFS_STATFS() Summary of changes: sys/vfs/autofs/autofs_vfsops.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) http://gitweb.dragonflybsd.org

git: sys/vfs/fuse: Cleanup (use TAILQ_FOREACH())

2019-04-01 Thread Tomohiro Kusumi
commit 0d020c7bb9e95bf83bc9a3cced6cd2899af27a19 Author: Tomohiro Kusumi Date: Tue Apr 2 00:25:36 2019 +0900 sys/vfs/fuse: Cleanup (use TAILQ_FOREACH()) Didn't need to use safe version. Summary of changes: sys/vfs/fuse/fuse_device.c | 8 +++- sys/vfs/fuse/fuse_ipc.c| 6

git: sys/kern: Add struct file* arg to VOP_{GETATTR, SETATTR, READ, WRITE, FSYNC, READDIR}

2019-03-31 Thread Tomohiro Kusumi
commit 2dfa19fa300df7648d9bf56b69c2cfd345882046 Author: Tomohiro Kusumi Date: Mon Apr 1 01:30:07 2019 +0900 sys/kern: Add struct file* arg to VOP_{GETATTR,SETATTR,READ,WRITE,FSYNC,READDIR} This commit changes VOP interface to support FUSE API/ABI. It just adds an additional

<    5   6   7   8   9   10   11   12   13   14   >