mkimage: New `-C <config>' option.
Enables use for out-of-tree config files. We're not really
supporting this as a general-purpose tool but downstream users (like
me) may find this convenient to avoid local patches.
smb: disable automatic conversion of adouble files
This commit disables a relatively new on-by-default feature of
vfs_fruit that attempts to detect and auto-migrate file-backed
AFP-style metadata. This exists primarily to facilitate data
mobility between different vfs_fruit / server configurations.
Since we've only had a single supported fruit configuration
regarding metadata and resource forks since TrueNAS 9.10 we can
safely disable this feature, which requires attempted per-file
opens for every directory listing. This significantly harms
dir listing performance for macos clients.
(cherry picked from commit 88a941a17336afee9c86bdf481455c265e14ff28)
smb: disable automatic conversion of adouble files
This commit disables a relatively new on-by-default feature of
vfs_fruit that attempts to detect and auto-migrate file-backed
AFP-style metadata. This exists primarily to facilitate data
mobility between different vfs_fruit / server configurations.
Since we've only had a single supported fruit configuration
regarding metadata and resource forks since TrueNAS 9.10 we can
safely disable this feature, which requires attempted per-file
opens for every directory listing. This significantly harms
dir listing performance for macos clients.
(cherry picked from commit 88a941a17336afee9c86bdf481455c265e14ff28)
NAS-141127 / 27.0.0-BETA.1 / smb: disable automatic conversion of adouble files (#18988)
This commit disables a relatively new on-by-default feature of vfs_fruit
that attempts to detect and auto-migrate file-backed AFP-style metadata.
This exists primarily to facilitate data mobility between different
vfs_fruit / server configurations. Since we've only had a single
supported fruit configuration regarding metadata and resource forks
since TrueNAS 9.10 we can safely disable this feature, which requires
attempted per-file opens for every directory listing. This significantly
harms dir listing performance for macos clients.
ld at virtio: Guard virtio_dequeue by virtio_vq_is_enqueued.
After triggering the DMA operation, or any previous virtio_dequeue,
virtio_vq_is_enqueued issues the necessary bus_dmamap_sync for
virtio_dequeue to observe any potential (new) result.
Normally this happens inside virtio(4) (in virtio_vq_intr) between
interrupt delivery and calling the virtqueue's done callback. But
polling mode I/O operations (and dump operations) don't take that
path, so it is necessary to call virtio_vq_is_enqueued explicitly.
PR kern/60182: ld at virtio sometimes hangs up
virtio(4): Add missing BUS_DMASYNC_PREREAD operations.
And one missing BUS_DMASYNC_POSTREAD operation.
With this change, loads from vq->vq_used->flags (which occur
immediately after a transfer is submitted to test whether we need to
kick the host device) is separated by a PREREAD/POSTREAD cycle from
loads from vq->vq_used->idx (which occur when we think a transfer may
have completed, e.g. upon receiving an interrupt, to test whether it
has, in fact, completed).
Additionally, with this change, consecutive loads from
*vq->vq_avail_event are separated by a PREREAD/POSTREAD cycle.
Should fix virtio(4) issues on m68k and other related architectures
like mips and armv<7:
PR kern/60144: virtio(4) cache coherence issue
[173 lines not shown]
workflows/require-release-manager: Refactor to check an arbitrary team (#199083)
This will allow it to be used for checking that users are members of the
llvm-committer team or possibly others.
This patch enables the fexec-charset option to control the execution charset of string literals. It sets the default internal charset, system charset, and execution charset for z/OS and UTF-8 for all other platforms.
iSCSI ALUA: regression test for failover LUN-replace stall
Add an extended test that builds 2 targets (25 + 10 LUNs), opens an
iSCSI session to the standby on the 25-LUN target so the kernel has
tgt_devs to clean up during become_active, then triggers an ungraceful
failover via poweroff_vm. Asserts:
- /var/log/failover.log on the new master does not contain
'Failed to restart service "iscsitarget" after 15 seconds',
which would indicate the LUN-replace loop stalled.
- /sys/kernel/scst_tgt/async_lun_replace reads 0 after failover,
confirming reset_active released the parked cleanup work.
- All LUNs are reachable on the new master.
A function-scoped fixture handles recovery (start_vm, wait_for_backup,
wait_for_settle) so the cluster is restored to a clean two-node state
even if an assertion above failed.
Uses the dataset() asset helper rather than zvol() for lower
per-extent overhead at this scale.
Release parked async LUN-replace cleanup after DLM peer eviction
scst.async_lun_replace=1 now also tells the kernel to park the deferred
cleanup of old tgt_devs from each LUN replace until the flag is cleared.
This avoids stalling become_active on scst_dlm_lock_wait inside
scst_clear_reservation while the dead peer is still a DLM lockspace
member.
Add iscsi.scst.disable_async_lun_replace and call it from the end of
iscsi.alua.reset_active, after dlm.reset_active (which evicts the peer)
completes.
netlink: Avoid undefined behaviour
Even though it is not dereferenced, it is UB to take the address of an
out of bounds array element.
Reviewed by: pouria, bz, des, adrian
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D57158