git: debug - more ncptrace enhancements

2022-07-04 Thread Matthew Dillon
commit 465b677356603643310c98f4b192c2e81306b4bb Author: Matthew Dillon Date: Mon Jul 4 00:40:55 2022 -0700 debug - more ncptrace enhancements * Accumulate counts for unres, leafs, fache, and negative entries, and print at the end. Summary of changes: test/debug

git: kernel - Attempt to fix broken vfs.cache.numunres tracker (2)

2022-07-04 Thread Matthew Dillon
commit a786f1c9268cda6dc7046f1a520192e4dbef4bfc Author: Matthew Dillon Date: Mon Jul 4 00:39:32 2022 -0700 kernel - Attempt to fix broken vfs.cache.numunres tracker (2) * The main culprit appears to be cache_allocroot() accounting for new root ncps differently than

git: debug - add nc_generation output from ncptrace

2022-07-03 Thread Matthew Dillon
commit bcfbaa029e7b4f6e0c69bb77fd6603b23469aed0 Author: Matthew Dillon Date: Sun Jul 3 22:28:00 2022 -0700 debug - add nc_generation output from ncptrace * Adjust ncptrace to print the value of nc_generation Summary of changes: test/debug/ncptrace.c | 2 ++ 1 file changed, 2

git: sh - Support writes to non-blocking descriptors

2022-07-03 Thread Matthew Dillon
commit 8f2ce533369498e3276d110254f9f5e755401db2 Author: Matthew Dillon Date: Sun Jul 3 20:54:42 2022 -0700 sh - Support writes to non-blocking descriptors * Instead of reporting "write error on stdout", support writes to non-blocking sockets by having xwrite(

git: kernel - Change ncp->nc_generation operation

2022-07-03 Thread Matthew Dillon
commit cb96f7b76c4005d3e48e63eb995d864a09d3 Author: Matthew Dillon Date: Sun Jul 3 17:10:51 2022 -0700 kernel - Change ncp->nc_generation operation * Change nc_generation operation. Bit 0 is reserved. The field is incremented by 2 whenever major changes are be

git: kernel - check nc_generation in nlookup path

2022-07-03 Thread Matthew Dillon
commit 417b10864204d0b13caea9c2d7bc7f35c004600a Author: Matthew Dillon Date: Sun Jul 3 20:47:32 2022 -0700 kernel - check nc_generation in nlookup path * With nc_generation now operating in a more usable manner, we can use it in nlookup() to check for changes. When

git: kernel - Attempt to fix broken vfs.cache.numunres tracker

2022-07-03 Thread Matthew Dillon
commit 8ae75bb2f3068158df0532a56a2d9fa0f646c2d0 Author: Matthew Dillon Date: Sun Jul 3 16:31:00 2022 -0700 kernel - Attempt to fix broken vfs.cache.numunres tracker * Try to fix a mis-count that can accumulate under heavy loads. * In cache_setvp

git: manual - Silently accept any value for IPV6_V6ONLY sockopt

2022-06-30 Thread Matthew Dillon
commit ae019b5f860243b14a9b0c990408093f079d84c9 Author: Matthew Dillon Date: Thu Jun 30 19:41:15 2022 -0700 manual - Silently accept any value for IPV6_V6ONLY sockopt * Update the ip6(4) manual page with the new behavior of IPV6_V6ONLY. Summary of changes: share/man/man4/ip6.4

git: DragonFly_RELEASE_6_2 kernel - Silently accept any value for IPV6_V6ONLY sockopt

2022-06-30 Thread Matthew Dillon
commit ca806c17dc4dfc9c1bea21e570d3f4e725e006dc Author: Matthew Dillon Date: Thu Jun 30 19:11:11 2022 -0700 kernel - Silently accept any value for IPV6_V6ONLY sockopt * Numerous utilities including named behave horribly if the IPV6_V6ONLY socketopt returns a failure. We

git: kernel - Silently accept any value for IPV6_V6ONLY sockopt

2022-06-30 Thread Matthew Dillon
commit c190e6d4c7814d99d069e2d6a1a121d0ae4da964 Author: Matthew Dillon Date: Thu Jun 30 19:11:11 2022 -0700 kernel - Silently accept any value for IPV6_V6ONLY sockopt * Numerous utilities including named behave horribly if the IPV6_V6ONLY socketopt returns a failure. We

git: DragonFly_RELEASE_6_2 : Include for in_addr and sockaddr_in.

2022-06-28 Thread Matthew Dillon
commit e319d05361d994222684de3b16bc471c55a66802 Author: Sascha Wildner Date: Mon May 23 06:01:48 2022 +0200 : Include for in_addr and sockaddr_in. Summary of changes: include/resolv.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

git: DragonFly_RELEASE_6_2 kernel - namecache eviction fixes

2022-06-16 Thread Matthew Dillon
commit 68dce0827fee87caff11b2b9939aceec9ba9ba1b Author: Matthew Dillon Date: Fri Jun 10 21:38:37 2022 -0700 kernel - namecache eviction fixes * Fix several namecache eviction issues which interfere with nlookup*() functions. There is an optimization where

git: kernel - namecache eviction fixes

2022-06-10 Thread Matthew Dillon
commit 1201253bc42e75739a2edeb64973c84d2527a57c Author: Matthew Dillon Date: Fri Jun 10 21:38:37 2022 -0700 kernel - namecache eviction fixes * Fix several namecache eviction issues which interfere with nlookup*() functions. There is an optimization where

git: world - include malloc_np.h from stdlib.h

2022-06-10 Thread Matthew Dillon
commit 8f546928d1ec263bb7d46f5ed17b0bbf65d24b58 Author: Matthew Dillon Date: Fri Jun 10 21:34:27 2022 -0700 world - include malloc_np.h from stdlib.h * Include malloc_np.h from stdlib.h as per FreeBSD manual page. Note that linux includes it from , but BSD's do

git: libc - Fix bug in recent malloc_usable_size() support

2022-06-09 Thread Matthew Dillon
commit d753779fa1afbe6e359db34a022781d9fb552363 Author: Matthew Dillon Date: Wed Jun 8 23:25:13 2022 -0700 libc - Fix bug in recent malloc_usable_size() support * Add missing unlock in the bigalloc check path * Fixes miniruby deadlock and other threaded uses

git: DragonFly_RELEASE_6_2 kernel - Fix lock order reversal in cache_resolve_mp()

2022-05-31 Thread Matthew Dillon
commit 179ea3791a98b27c41ced2fbae94a2ce41c2f089 Author: Matthew Dillon Date: Thu May 26 22:34:15 2022 -0700 kernel - Fix lock order reversal in cache_resolve_mp() * This function is a helper when path lookups cross mount boundaries. * Locking order between

git: kernel - Add kern/subr_gtaskqueue.c

2022-05-30 Thread Matthew Dillon
commit fab26bfaa6e498f885f4703c02c06f4d651dd445 Author: Matthew Dillon Date: Mon May 30 18:18:08 2022 -0700 kernel - Add kern/subr_gtaskqueue.c * Add the gtaskqueue API Taken-from: FreeBSD Summary of changes: sys/conf/files | 1 + sys/kern

git: kernel - Add two more DEVMETHODs (quiesce and register)

2022-05-30 Thread Matthew Dillon
commit 72ea144c6709ad9c2a77ae667a109442f8a400b1 Author: Matthew Dillon Date: Mon May 30 17:15:40 2022 -0700 kernel - Add two more DEVMETHODs (quiesce and register) * Add DEVMETHODs quiesce and register to help with future FreeBSD porting work. Summary of changes: sys

git: build - Change '@' symlink to 'dragonfly'

2022-05-30 Thread Matthew Dillon
commit c1ca80e72609c4d9b42474aaadd648227917aa37 Author: Matthew Dillon Date: Mon May 30 17:14:03 2022 -0700 build - Change '@' symlink to 'dragonfly' * Change the '@' symlink to 'dragonfly', making it easier for #include overlays to chain to dragonfly headers in the future

git: kernel - Adjust devlcass arg for DRIVER_MODULE_ORDERED() macro

2022-05-30 Thread Matthew Dillon
commit 5716abfee22bb12997f2be6a4cce0b691e6c5436 Author: Matthew Dillon Date: Mon May 30 17:11:29 2022 -0700 kernel - Adjust devlcass arg for DRIVER_MODULE_ORDERED() macro * Adjust the argument to pass in instead of having the macro add the '&'. This allows

git: kernel - Fix lock order reversal in cache_resolve_mp()

2022-05-30 Thread Matthew Dillon
commit ba1dbd396d7a228d00e493763ba4d0f0d3512ee3 Author: Matthew Dillon Date: Thu May 26 22:34:15 2022 -0700 kernel - Fix lock order reversal in cache_resolve_mp() * This function is a helper when path lookups cross mount boundaries. * Locking order between

git: stress - Add t_memlock.c, t_memlockall.c

2022-05-19 Thread Matthew Dillon
commit 09cec762c1023b66638818ee897b891a38e40d62 Author: Matthew Dillon Date: Thu May 19 10:43:29 2022 -0700 stress - Add t_memlock.c, t_memlockall.c * Add simple stress test for mlock()/mlockall(). Summary of changes: test/stress/Makefile | 9 - test/stress/t_mlock.c

git: kernel - Implement mlockall() properly

2022-05-19 Thread Matthew Dillon
commit c936cb6fb98d3c40c4f9174ee19179e918a2b544 Author: Matthew Dillon Date: Thu May 19 10:30:29 2022 -0700 kernel - Implement mlockall() properly * Implement mlockall()'s MCL_CURRENT, and generalaly reimplement mlockall() using linux-like expectations. This generally

git: DragonFly_RELEASE_6_2 kernel - vnode recycling, intermediate fix

2022-04-30 Thread Matthew Dillon
commit 57d18a8881652605571193efb6764ad331c7d212 Author: Matthew Dillon Date: Fri Apr 29 16:46:09 2022 -0700 kernel - vnode recycling, intermediate fix * Fix a condition where vnlru (the vnode recycler) can live- lock on unsuitable vnodes in the inactive list and stop

git: DragonFly_RELEASE_6_2 kernel - Temporary work-around for vnode recyclement problems

2022-04-30 Thread Matthew Dillon
commit ed46a30e64957d323572ac0a31fade69622971ee Author: Matthew Dillon Date: Thu Apr 28 22:19:28 2022 -0700 kernel - Temporary work-around for vnode recyclement problems * vnlru deadlocks were encountered on grok while indexing ~20 million files in deep directory trees

git: kernel - Temporary work-around for vnode recyclement problems

2022-04-30 Thread Matthew Dillon
commit 83fe95c9cf271e44613cd1c88bc48397c8be7513 Author: Matthew Dillon Date: Thu Apr 28 22:19:28 2022 -0700 kernel - Temporary work-around for vnode recyclement problems * vnlru deadlocks were encountered on grok while indexing ~20 million files in deep directory trees

git: kernel - vnode recycling, intermediate fix

2022-04-30 Thread Matthew Dillon
commit 8938f217e037b576c2591c78bcb2096b11c9c6bf Author: Matthew Dillon Date: Fri Apr 29 16:46:09 2022 -0700 kernel - vnode recycling, intermediate fix * Fix a condition where vnlru (the vnode recycler) can live- lock on unsuitable vnodes in the inactive list and stop

git: DragonFly_RELEASE_6_2 hammer2 - Fix issue where deleted files sometimes linger until umount (3)

2022-04-28 Thread Matthew Dillon
commit 864cb546a6d2d33d0083487223c21aeb4ef05b4f Author: Matthew Dillon Date: Thu Apr 28 21:59:37 2022 -0700 hammer2 - Fix issue where deleted files sometimes linger until umount (3) * Add missing conditional on last commit Summary of changes: sys/vfs/hammer2/hammer2_inode.c

git: hammer2 - Fix issue where deleted files sometimes linger until umount (3)

2022-04-28 Thread Matthew Dillon
commit 55d906d5ce1b03c05b15bad1e2e2624c01f6c4fa Author: Matthew Dillon Date: Thu Apr 28 21:59:37 2022 -0700 hammer2 - Fix issue where deleted files sometimes linger until umount (3) * Add missing conditional on last commit Summary of changes: sys/vfs/hammer2/hammer2_inode.c

git: DragonFly_RELEASE_6_2 hammer2 - Fix issue where deleted files sometimes linger until umount (2)

2022-04-28 Thread Matthew Dillon
commit 2d4292df287441e4d32e2a435c501655a9d70c56 Author: Matthew Dillon Date: Thu Apr 28 12:52:46 2022 -0700 hammer2 - Fix issue where deleted files sometimes linger until umount (2) This is related to the issue of having to retain the inodes for deleted files that still have

git: hammer2 - Fix issue where deleted files sometimes linger until umount (2)

2022-04-28 Thread Matthew Dillon
commit bc8993d7ec542748734a1e2cd7a3998b6984b255 Author: Matthew Dillon Date: Thu Apr 28 12:52:46 2022 -0700 hammer2 - Fix issue where deleted files sometimes linger until umount (2) This is related to the issue of having to retain the inodes for deleted files that still have

git: DragonFly_RELEASE_6_2 hammer2 - Fix issue where deleted files sometimes linger until umount

2022-04-27 Thread Matthew Dillon
commit 3a3f840853f9b25de8d02d70f95d37113eb14655 Author: Matthew Dillon Date: Mon Apr 25 20:04:01 2022 -0700 hammer2 - Fix issue where deleted files sometimes linger until umount * Hammer2 was using a namecache heuristic to determine if a file being deleted was still open

git: DragonFly_RELEASE_6_2 hammer2 - Fix bulkfree bug when multiple PFSs are mounted

2022-04-27 Thread Matthew Dillon
commit b9d7e8a4f508d3ec1f95f09d8bec3c68a8f5cb8b Author: Matthew Dillon Date: Mon Apr 25 19:21:38 2022 -0700 hammer2 - Fix bulkfree bug when multiple PFSs are mounted * If multiple PFSs from the same block device are mounted, the bulkfree directive can sometimes free blocks

git: DragonFly_RELEASE_6_2 hammer2 - Fix CHECK fail path that might mangle an inode in-memory

2022-04-27 Thread Matthew Dillon
commit 18f09112bfc039be4e460a70daee7349406abb01 Author: Matthew Dillon Date: Thu Apr 21 22:37:21 2022 -0700 hammer2 - Fix CHECK fail path that might mangle an inode in-memory * Allowing the wrong inode block to be entered in-memory can result in massive filesystem

git: DragonFly_RELEASE_6_2 hammer2 - report critical bulkfree transitions

2022-04-27 Thread Matthew Dillon
commit a9c4dad4c17f20ece747836e18f5db08ac5a46ad Author: Matthew Dillon Date: Mon Apr 25 10:45:57 2022 -0700 hammer2 - report critical bulkfree transitions * Report critical bulkfree transitions that are not supposed to happen, such as bulkfree detecting a fully-free block

git: hammer2 - Fix issue where deleted files sometimes linger until umount

2022-04-26 Thread Matthew Dillon
commit bb16050ede5e81262312893fc8aaa54959cf993b Author: Matthew Dillon Date: Mon Apr 25 20:04:01 2022 -0700 hammer2 - Fix issue where deleted files sometimes linger until umount * Hammer2 was using a namecache heuristic to determine if a file being deleted was still open

git: hammer2 - Fix bulkfree bug when multiple PFSs are mounted

2022-04-26 Thread Matthew Dillon
commit 6e964f3c30bfd89a72e430769c5dc4a6156415c3 Author: Matthew Dillon Date: Mon Apr 25 19:21:38 2022 -0700 hammer2 - Fix bulkfree bug when multiple PFSs are mounted * If multiple PFSs from the same block device are mounted, the bulkfree directive can sometimes free blocks

git: hammer2 - report critical bulkfree transitions

2022-04-26 Thread Matthew Dillon
commit 39745314c972d900d2492f4cfe2500b50f7d4859 Author: Matthew Dillon Date: Mon Apr 25 10:45:57 2022 -0700 hammer2 - report critical bulkfree transitions * Report critical bulkfree transitions that are not supposed to happen, such as bulkfree detecting a fully-free block

git: hammer2 - Fix CHECK fail path that might mangle an inode in-memory

2022-04-21 Thread Matthew Dillon
commit f3bfcc3fda3d70dd80cbb0440b5b8649ca2d07de Author: Matthew Dillon Date: Thu Apr 21 22:37:21 2022 -0700 hammer2 - Fix CHECK fail path that might mangle an inode in-memory * Allowing the wrong inode block to be entered in-memory can result in massive filesystem

git: dsynth - Increase ncurses rate and other fields from 5 to 6 digits

2022-04-20 Thread Matthew Dillon
commit 2295606ee0a1e6ce0e7a6a23146a9551e936b459 Author: Matthew Dillon Date: Wed Apr 20 12:04:43 2022 -0700 dsynth - Increase ncurses rate and other fields from 5 to 6 digits * Increase displayed rate and other numerical fields from 5 to 6 digits. Certain dsynth actions

git: libc - Protect dbm_*() API with a mutex

2022-04-20 Thread Matthew Dillon
commit bd5862e7077df8ab5b388587b2c1418d753a7494 Author: Matthew Dillon Date: Wed Apr 20 11:57:40 2022 -0700 libc - Protect dbm_*() API with a mutex * The dbm_*() API is not thread-safe. Generally speaking, libc is expected to be thread-safe these days. * Protect

git: kernel - Add sysctl debugging

2022-04-20 Thread Matthew Dillon
commit 8dac21e937f35d81e8904953cc42df03fc0c9fe4 Author: Matthew Dillon Date: Wed Apr 20 08:47:45 2022 -0700 kernel - Add sysctl debugging * Add debug.sysctl to log sysctl nodes as they are requested, to help with debugging. Summary of changes: sys/kern/kern_sysctl.c | 9

git: dsynth - Add 'fetch-only {list/everything}*' directive (3)

2022-04-20 Thread Matthew Dillon
commit d1e52415a4842bdead1213806971a5d44024342e Author: Matthew Dillon Date: Wed Apr 20 08:45:28 2022 -0700 dsynth - Add 'fetch-only {list/everything}*' directive (3) * dsynth still follows dependency chains when fetching, which is kinda what we want. However, failed

git: dsynth - Protect threaded dbm_store() calls

2022-04-20 Thread Matthew Dillon
commit 7b5ce327dbcc312a09b33c4ea55501ac94271f97 Author: Matthew Dillon Date: Tue Apr 19 21:27:17 2022 -0700 dsynth - Protect threaded dbm_store() calls * dsynth makes multi-threaded calls to dbm_store(), default to throwing a mutex around the call to avoid dbm corruption

git: dsynth - Add 'fetch-only {list/everything}*' directive (2)

2022-04-19 Thread Matthew Dillon
commit d1fffddaa096ab6b3bca2f82a5f17e26a52773ac Author: Matthew Dillon Date: Tue Apr 19 19:49:45 2022 -0700 dsynth - Add 'fetch-only {list/everything}*' directive (2) * Add to basic help output Summary of changes: usr.bin/dsynth/dsynth.c | 1 + 1 file changed, 1 insertion

git: dsynth - Add 'fetch-only {list/everything}*' directive

2022-04-19 Thread Matthew Dillon
commit 325ef124bab73002a4f1b10eb31879056533c765 Author: Matthew Dillon Date: Tue Apr 19 15:55:55 2022 -0700 dsynth - Add 'fetch-only {list/everything}*' directive * Implements a fetch-only feature which tells dsynth to fetch all source distributions required to build

git: DragonFly_RELEASE_6_2 hammer2 - Fix panic related to usb stick pull on mounted H2 filesystem

2022-03-18 Thread Matthew Dillon
commit fd3f7ef60b77a8da9ac9d5b3b1bce579f4252532 Author: Matthew Dillon Date: Fri Mar 18 11:34:40 2022 -0700 hammer2 - Fix panic related to usb stick pull on mounted H2 filesystem * Fixes at least one panic related to unexpected USB stick pulls. There may be others

git: hammer2 - Fix panic related to usb stick pull on mounted H2 filesystem

2022-03-18 Thread Matthew Dillon
commit 380eafa23fadef5879d7e0ea2e2aedbbdb16d8f2 Author: Matthew Dillon Date: Fri Mar 18 11:34:40 2022 -0700 hammer2 - Fix panic related to usb stick pull on mounted H2 filesystem * Fixes at least one panic related to unexpected USB stick pulls. There may be others

git: DragonFly_RELEASE_6_2 ipfw - Fix broken mixed network and host IP specifications in ip tables

2022-03-12 Thread Matthew Dillon
commit 5b0ac3347670948a0cd6944462639b844a05a523 Author: Matthew Dillon Date: Fri Mar 11 17:09:48 2022 -0800 ipfw - Fix broken mixed network and host IP specifications in ip tables * ipfw improperly assumes that the netmask sin_len is pre-zero'd, but prior table entries

git: hammer2 - Fix excess chain structure allocations during bulkfree (3)

2022-03-11 Thread Matthew Dillon
commit f7a9ce16252aa547c85ff84ec40272848e5587bd Author: Matthew Dillon Date: Fri Mar 11 17:18:38 2022 -0800 hammer2 - Fix excess chain structure allocations during bulkfree (3) * Fix excess chain structure allocations during bulkfree, AGAIN. This time for real

git: kernel - provide more information on crital section count mismatch panics

2022-03-11 Thread Matthew Dillon
commit f89dddc72568ef3eb11aa11e247b37ce69e77bce Author: Matthew Dillon Date: Fri Mar 11 17:17:06 2022 -0800 kernel - provide more information on crital section count mismatch panics * Provide more information on crital section count mismatch panics. Include which system

git: ipfw - Fix broken mixed network and host IP specifications in ip tables

2022-03-11 Thread Matthew Dillon
commit 7a85cb47e3735b43552cc1131e9fe4fcb27b5428 Author: Matthew Dillon Date: Fri Mar 11 17:09:48 2022 -0800 ipfw - Fix broken mixed network and host IP specifications in ip tables * ipfw improperly assumes that the netmask sin_len is pre-zero'd, but prior table entries

git: mount_msdos - Add /dev prefix if necessasry

2022-02-23 Thread Matthew Dillon
commit 974c9e400dab5141569a871a400ffe23c6d7159d Author: Matthew Dillon Date: Wed Feb 23 13:50:12 2022 -0800 mount_msdos - Add /dev prefix if necessasry * Automatically add the /dev prefix if a relative device path is specified. For example 'vn0' turns into '/dev/vn0

git: DragonFly_RELEASE_6_2 kernel - Fix namecache issue that can slow systems down over time

2022-01-30 Thread Matthew Dillon
commit b08a681b9d224b8f119d57c04d244457836e47ed Author: Matthew Dillon Date: Sun Jan 30 10:42:11 2022 -0800 kernel - Fix namecache issue that can slow systems down over time * Fix a serious dead-record issue with the namecache. It is very common to create a blah.new

git: kernel - Fix namecache issue that can slow systems down over time

2022-01-30 Thread Matthew Dillon
commit 62560bbbce0dcd957ffaa36a58620311615d781b Author: Matthew Dillon Date: Sun Jan 30 10:42:11 2022 -0800 kernel - Fix namecache issue that can slow systems down over time * Fix a serious dead-record issue with the namecache. It is very common to create a blah.new

git: DragonFly_RELEASE_6_2 kernel - Fix sysv semaphore panic

2022-01-25 Thread Matthew Dillon
commit d03cdabdd013b2e48aa3e54bd21675830c19a441 Author: Matthew Dillon Date: Tue Jan 25 14:33:55 2022 -0800 kernel - Fix sysv semaphore panic * Fix an exit race related to lingering sysv semaphores which can sometimes cause a kernel panic. Reported-by: zrj

git: kernel - Fix sysv semaphore panic

2022-01-25 Thread Matthew Dillon
commit e527519aefede156ff8519c6157cf5cc1cc57ca2 Author: Matthew Dillon Date: Tue Jan 25 14:33:55 2022 -0800 kernel - Fix sysv semaphore panic * Fix an exit race related to lingering sysv semaphores which can sometimes cause a kernel panic. Reported-by: zrj

git: DragonFly_RELEASE_6_2 libc - Increase opendir/readdir buffer size

2022-01-24 Thread Matthew Dillon
commit 607853b46fed9fe9c801a4253f9105c29dbd90f0 Author: Matthew Dillon Date: Sun Jan 23 22:01:50 2022 -0800 libc - Increase opendir/readdir buffer size * Increase the directory scan buffer size from 4096 bytes to 16384 bytes, significantly reducing the number of discrete

git: DragonFly_RELEASE_6_2 kernel - Fix ktrace's handling of system call return values

2022-01-24 Thread Matthew Dillon
commit 74740cc029ec5550224385fe2a95e53339baaf9a Author: Matthew Dillon Date: Sun Jan 23 22:02:56 2022 -0800 kernel - Fix ktrace's handling of system call return values * Distinguish between int and long returns, properly recording long returns (e.g. lseek(), mmap(), read

git: DragonFly_RELEASE_6_2 tmpfs - Fix readdir() races

2022-01-24 Thread Matthew Dillon
commit 118b483795f2643e8959543b27a5ce4e3a1c7711 Author: Matthew Dillon Date: Sun Jan 23 21:55:44 2022 -0800 tmpfs - Fix readdir() races * Fix multi-threaded deletion races against readdir(). These races can cause a directory scan in one thread to return EINVAL

git: kernel - Fix ktrace's handling of system call return values

2022-01-23 Thread Matthew Dillon
commit 0807c4ed098cbfdfd20e0721600b4530c869828a Author: Matthew Dillon Date: Sun Jan 23 22:02:56 2022 -0800 kernel - Fix ktrace's handling of system call return values * Distinguish between int and long returns, properly recording long returns (e.g. lseek(), mmap(), read

git: libc - Increase opendir/readdir buffer size

2022-01-23 Thread Matthew Dillon
commit 562d2cede5d0f2be4cc951a3b649975e6647397c Author: Matthew Dillon Date: Sun Jan 23 22:01:50 2022 -0800 libc - Increase opendir/readdir buffer size * Increase the directory scan buffer size from 4096 bytes to 16384 bytes, significantly reducing the number of discrete

git: hammer2 - Fix excess chain structure allocations during bulkfree (2)

2022-01-23 Thread Matthew Dillon
commit 784d105b6000afc68e4b26e8acf5b4d6a79ea1f7 Author: Matthew Dillon Date: Fri Jan 14 12:55:36 2022 -0800 hammer2 - Fix excess chain structure allocations during bulkfree (2) Try to fix this again. The last attempt failed. Basically the problem is that when the depth

git: tmpfs - Fix readdir() races

2022-01-23 Thread Matthew Dillon
commit e91c5b2636e1fdd0d9e5170f24e5e39987211a49 Author: Matthew Dillon Date: Sun Jan 23 21:55:44 2022 -0800 tmpfs - Fix readdir() races * Fix multi-threaded deletion races against readdir(). These races can cause a directory scan in one thread to return EINVAL

git: DragonFly_RELEASE_6_2 dsynth - Add config var for Meta_version and make the default 2

2022-01-10 Thread Matthew Dillon
commit df63bcfd144c20306359f0ca0f979f7b9c74a9fc Author: Matthew Dillon Date: Mon Jan 3 12:13:18 2022 -0800 dsynth - Add config var for Meta_version and make the default 2 * Add the 'Meta_version' configuration variable. * Make the default 2 (it was previously 1

git: DragonFly_RELEASE_6_2 hammer2 - Fix excess chain structure allocations during bulkfree

2022-01-07 Thread Matthew Dillon
commit 3983207105242b8231906a9dbfacc8c97f8e6ec1 Author: Matthew Dillon Date: Fri Jan 7 16:41:35 2022 -0800 hammer2 - Fix excess chain structure allocations during bulkfree * On H2 filesystems with a very large number of inodes, such as those used for backups or which

git: hammer2 - Fix excess chain structure allocations during bulkfree

2022-01-07 Thread Matthew Dillon
commit 1dddac0a529e5053f361fc4614980b4cba145a61 Author: Matthew Dillon Date: Fri Jan 7 16:41:35 2022 -0800 hammer2 - Fix excess chain structure allocations during bulkfree * On H2 filesystems with a very large number of inodes, such as those used for backups or which

git: dsynth - Add config var for Meta_version and make the default 2

2022-01-03 Thread Matthew Dillon
commit 6a7ba689e64cce7b1531357c9fdf622b4ea04eb4 Author: Matthew Dillon Date: Mon Jan 3 12:13:18 2022 -0800 dsynth - Add config var for Meta_version and make the default 2 * Add the 'Meta_version' configuration variable. * Make the default 2 (it was previously 1

git: hammer2 - (when used for booting @BOOT) (2)

2022-01-02 Thread Matthew Dillon
commit 2ad4d0e44d46f6fc8f0a772fce2898c8b8f896c8 Author: Matthew Dillon Date: Sun Jan 2 16:51:22 2022 -0800 hammer2 - (when used for booting @BOOT) (2) * Adjust the range to use HAMMER2_DIRHASH_LOMASK Reported-by: aly Summary of changes: stand/lib/hammer2.c | 6

git: hammer2 - (when used for booting @BOOT)

2022-01-02 Thread Matthew Dillon
commit d7e11471bd451b05672ba37334898eaa52f35415 Author: Matthew Dillon Date: Sun Jan 2 12:21:44 2022 -0800 hammer2 - (when used for booting @BOOT) * Fix the @BOOT lookup to allow the whole hash range for "BOOT". This can come up if you delete the BOOT pfs and

git: DragonFly_RELEASE_6_0 kernel - Fix if_sn, if_sbsh issue (not in kernel by default)

2021-12-30 Thread Matthew Dillon
commit efee87bdf34b0f04925e74541f65770cc3ce9b9d Author: Matthew Dillon Date: Thu Dec 30 16:43:25 2021 -0800 kernel - Fix if_sn, if_sbsh issue (not in kernel by default) * Fix a security problem with a data field. Note that these drivers are not loaded into the kernel

git: DragonFly_RELEASE_6_0 kernel - Add SIOCGHWADDR, fix SIOCGIFADDR

2021-12-30 Thread Matthew Dillon
commit 4db6bcb471282e5ee9a8ae968b8f966d7448346d Author: Matthew Dillon Date: Thu Dec 30 16:40:59 2021 -0800 kernel - Add SIOCGHWADDR, fix SIOCGIFADDR * Add SIOCGHWADDR, this is more commonly used to obtain the ether mac address of an interface these days. * Fix

git: kernel - Fix if_sn, if_sbsh issue (not in kernel by default)

2021-12-30 Thread Matthew Dillon
commit f6a040333742c20fd088944a507721fda481fe08 Author: Matthew Dillon Date: Thu Dec 30 16:43:25 2021 -0800 kernel - Fix if_sn, if_sbsh issue (not in kernel by default) * Fix a security problem with a data field. Note that these drivers are not loaded into the kernel

git: kernel - Add SIOCGHWADDR, fix SIOCGIFADDR

2021-12-30 Thread Matthew Dillon
commit 7195ced1912fa8f0a50a0e4128dda9f623a46731 Author: Matthew Dillon Date: Thu Dec 30 16:40:59 2021 -0800 kernel - Add SIOCGHWADDR, fix SIOCGIFADDR * Add SIOCGHWADDR, this is more commonly used to obtain the ether mac address of an interface these days. * Fix

git: kernel - Add DIOCGMEDIASIZE and DIOCGSECTORSIZE

2021-12-30 Thread Matthew Dillon
commit 853408102638f879124210299f70d3db026715a3 Author: Matthew Dillon Date: Thu Dec 30 13:15:44 2021 -0800 kernel - Add DIOCGMEDIASIZE and DIOCGSECTORSIZE * Add DIOCGMEDIASIZE and DIOCGSECTORSIZE for 'go' and other dports. At the moment this requires #include

git: libc - Add getentropy()

2021-12-30 Thread Matthew Dillon
commit fef748e3062060853a5d9859a1ea7507fbe0217b Author: Matthew Dillon Date: Thu Dec 30 13:13:55 2021 -0800 libc - Add getentropy() * Add getentropy(). This function uses getrandom() internally. Requested-by: zrj, for dports Summary of changes: include/unistd.h

git: DragonFly_RELEASE_6_0 Fix select()/kqueue() bug with pipe()s

2021-12-28 Thread Matthew Dillon
commit fc7b32bc0b299d35561687736940dd1d4a200417 Author: Matthew Dillon Date: Fri Nov 19 10:10:29 2021 -0800 Fix select()/kqueue() bug with pipe()s * This causes select() / kqueue() was not returning a writable condition on a pipe() whos other end was closed early

git: DragonFly_RELEASE_6_0 drm/i915: Enable WhiskeyLake GPUs

2021-12-28 Thread Matthew Dillon
commit 096fca6d6d1b039dccaed77e02a361f597e0e783 Author: Michael Neumann Date: Sun Dec 26 16:38:25 2021 +0100 drm/i915: Enable WhiskeyLake GPUs * The PCI ids were added in commit a8138aa83 but the ids were never added to `pciidlist` so that the i915 driver did not recognize

git: nvme - Back-off if driver lies about reported queue limits

2021-12-25 Thread Matthew Dillon
commit b5b25080344d7d9659ea3550bd1c50d0c4f0a36d Author: Matthew Dillon Date: Sat Dec 25 12:30:52 2021 -0800 nvme - Back-off if driver lies about reported queue limits * Apparently some low-rent nvme controllers lie about how many queues they support. * If the nvme

git: hammer2 - Do not panic on freemap block I/O error

2021-12-25 Thread Matthew Dillon
commit 041c3a94389d8f8bf4daec2f51a042df72ac7af6 Author: Matthew Dillon Date: Fri Dec 24 22:45:17 2021 -0800 hammer2 - Do not panic on freemap block I/O error * During bulkfree, do not panic if a freemap block has an I/O error. Reported-by: aly Summary of changes: sys

git: kernel - Fix posix_fallocate()

2021-12-09 Thread Matthew Dillon
commit b256c8e35e8710a5a4544d000b29b46518765bc8 Author: Matthew Dillon Date: Thu Dec 9 10:18:03 2021 -0800 kernel - Fix posix_fallocate() * Our newly minted posix_fallocate() system call was ignoring the offset field. * Should fix samba, however any tdb databases

git: drm - Hack i915 to workaround startup crash

2021-11-30 Thread Matthew Dillon
commit d2d2070135eb7f584b6e87e969b56ecc3c3a31b8 Author: Matthew Dillon Date: Tue Nov 30 09:45:17 2021 -0800 drm - Hack i915 to workaround startup crash * Work around a startup crash (at least on my i5-6500) caused by a ring timeout and request-not-completed. Replace

git: kernel - Do not block indefinitely in exit1() when draining controlling tty

2021-11-29 Thread Matthew Dillon
commit de22b67f22f891aa5d46702543b6a996b1ebc66c Author: Matthew Dillon Date: Mon Nov 29 12:46:07 2021 -0800 kernel - Do not block indefinitely in exit1() when draining controlling tty * exit1() tries to drain the controlling terminal. This can block indefinitely

git: DragonFly_RELEASE_6_0 dsynth.1: Document hooks

2021-11-26 Thread Matthew Dillon
commit 25f98528fd25cd750c39eb094095214986946c76 Author: Antonio Huete Jimenez Date: Sat Aug 21 00:41:13 2021 +0200 dsynth.1: Document hooks Suggested-and-reviewed-by: swildner Summary of changes: usr.bin/dsynth/dsynth.1 | 69 - 1

git: DragonFly_RELEASE_6_0 dsynth - Support pkg 1.17 (.pkg suffix for packages)

2021-11-26 Thread Matthew Dillon
commit 245d70dd80e7afb9407fb0cdefaba1c02f256c32 Author: Matthew Dillon Date: Sun Oct 17 10:17:56 2021 -0700 dsynth - Support pkg 1.17 (.pkg suffix for packages) * When scanning for binary packages, check for .pkg suffixed files unconditionally in addition to checking

git: DragonFly_RELEASE_6_0 dsynth - Add PKG_COMPRESSION_FORMAT

2021-11-26 Thread Matthew Dillon
commit 44038c6107c05093898d25d95b0596560fcce4f7 Author: Matthew Dillon Date: Sun Oct 17 10:37:36 2021 -0700 dsynth - Add PKG_COMPRESSION_FORMAT * Generate a PKG_COMPRESSION_FORMAT env variable in addition to PKG_SUFX. This should fix the compression format used

git: DragonFly_RELEASE_6_0 dsynth - Conditionally avoid passing PKG_SUFX make env

2021-11-26 Thread Matthew Dillon
commit 4de0d83c59b659fe363ad4ca785813f9832742c3 Author: Matthew Dillon Date: Sun Oct 17 14:24:02 2021 -0700 dsynth - Conditionally avoid passing PKG_SUFX make env * Avoid WARNINGs in the logs due to passing PKG_SUFX into make env. Remove this for pkg versions 1.17

git: DragonFly_RELEASE_6_0 dsynth: Explicitly fail when the chroot can't resolve DNS names

2021-11-26 Thread Matthew Dillon
commit 63f1bcff68921500b043cb31ea1328ab276bb70e Author: Antonio Huete Jimenez Date: Sun Oct 17 18:05:25 2021 +0200 dsynth: Explicitly fail when the chroot can't resolve DNS names Summary of changes: usr.bin/dsynth/build.c | 27 +++ 1 file changed, 27

git: DragonFly_RELEASE_6_0 dsynth - Support chromium WITH_DEBUG build

2021-11-26 Thread Matthew Dillon
commit 4c8a8df09cf33b806044b596fddccacff83e72af Author: Matthew Dillon Date: Sun Jun 27 12:32:02 2021 -0700 dsynth - Support chromium WITH_DEBUG build * WITH_DEBUG=yes plus STRIP= on a chromium build, including dependencies, requires more than 16GB in /usr/local and more

git: DragonFly_RELEASE_6_0 dsynth - If WITH_DEBUG used, increase tmpfs size for BASE/construction

2021-11-26 Thread Matthew Dillon
commit f25ebd52f6205e8fc05872eb08afac19d9251d3c Author: Matthew Dillon Date: Thu Jun 24 21:11:18 2021 -0700 dsynth - If WITH_DEBUG used, increase tmpfs size for BASE/construction * When WITH_DEBUG is specified in dsynth's -make.conf, increase the tmpfs size

git: DragonFly_RELEASE_6_0 dsynth.1: Oops, fix sorting.

2021-11-26 Thread Matthew Dillon
commit ccea49dd91f5957e7c462e568f047eb935952f44 Author: Sascha Wildner Date: Thu Jun 3 12:08:12 2021 +0200 dsynth.1: Oops, fix sorting. Summary of changes: usr.bin/dsynth/dsynth.1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

git: DragonFly_RELEASE_6_0 dsynth.1: Add -P to the SYNOPSIS.

2021-11-26 Thread Matthew Dillon
commit 8a3389925919311836ecfdf5074704665f9b25f8 Author: Sascha Wildner Date: Thu Jun 3 12:04:12 2021 +0200 dsynth.1: Add -P to the SYNOPSIS. Summary of changes: usr.bin/dsynth/dsynth.1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)

git: DragonFly_RELEASE_6_0 dsynth - Add -M scale option

2021-11-26 Thread Matthew Dillon
commit 776a53b0adaf58b527912b8d01985a72551e4eca Author: Matthew Dillon Date: Mon May 17 15:48:59 2021 -0700 dsynth - Add -M scale option * Add option to scale the number of workers allowed. The dynamic workers calculation operates normally but all results are scaled

git: Fix select()/kqueue() bug with pipe()s

2021-11-19 Thread Matthew Dillon
commit 3e6cd71a300e70d8644d281b53a7f30d1d5c4bce Author: Matthew Dillon Date: Fri Nov 19 10:10:29 2021 -0800 Fix select()/kqueue() bug with pipe()s * This causes select() / kqueue() was not returning a writable condition on a pipe() whos other end was closed early

git: drm - Increase hacked stolen framebuffer memory for vega9 (2400G, 3550H, ...)

2021-11-07 Thread Matthew Dillon
commit ef7b4fc3bb9842035aa6c33660f77dca8bf8fe6c Author: Matthew Dillon Date: Sun Nov 7 19:38:17 2021 -0800 drm - Increase hacked stolen framebuffer memory for vega9 (2400G, 3550H, ...) * Increase from 9MB to 64MB, fixing a amdgpu crash on kldload when a 4K monitor

git: kernel - Fix linux_idr.c

2021-11-07 Thread Matthew Dillon
commit d5be22e8fd9a74a56c14af59d0e36b9f979b500d Author: Matthew Dillon Date: Sat Nov 6 23:59:46 2021 -0700 kernel - Fix linux_idr.c * Fix the linux compat IDR code. Fixes an endless grow loop that panics the system. lim is set to end - 1 and prevented the find loop

git: drm - restore idr_alloc() functionality from amdgpu

2021-11-07 Thread Matthew Dillon
commit 1f4dfa9277d5d6a7456f6a1a7468bca792407389 Author: Matthew Dillon Date: Sun Nov 7 00:02:33 2021 -0700 drm - restore idr_alloc() functionality from amdgpu * Restore idr_alloc() functionality * Fix the IDA initializer to properly initialize the lwkt_token

git: drm: enable amdgpu module build; update radeon to use updated ttm api

2021-11-03 Thread Matthew Dillon
commit 9eb960773498463a0345970327518dc99f07e96b Author: Sergey Zigachev Date: Wed Nov 3 17:17:47 2021 +0500 drm: enable amdgpu module build; update radeon to use updated ttm api Summary of changes: sys/dev/drm/Makefile| 2 +- sys/dev/drm/amd/Makefile| 7

git: drm/ttm: Update to match amdgpu driver, Linux 4.19 based

2021-11-03 Thread Matthew Dillon
commit 932d855e0922ed9e1decd9e1557d1ad3c065b76b Author: Sergey Zigachev Date: Wed Nov 3 17:04:02 2021 +0500 drm/ttm: Update to match amdgpu driver, Linux 4.19 based Summary of changes: sys/dev/drm/drm/Makefile | 21 +- sys/dev/drm/drm_drv.c

git: drm/amdgpu: Replace firmware names

2021-11-03 Thread Matthew Dillon
commit 809f38025e6f424cb8960d509d59de3ddc7d6b98 Author: Sergey Zigachev Date: Wed Nov 3 16:55:24 2021 +0500 drm/amdgpu: Replace firmware names Summary of changes: sys/dev/drm/amd/amdgpu/amdgpu_cgs.c | 48 sys/dev/drm/amd/amdgpu/amdgpu_device.c| 10 +-

  1   2   3   4   5   6   7   8   9   10   >