Page MenuHomeFreeBSD

rmacklem (Rick Macklem)
User

Projects

User Details

User Since
Jan 13 2015, 10:58 PM (497 w, 3 d)

Recent Activity

Tue, Jul 23

rmacklem committed rGf84ac01e1829: nfsd: Make modifying vfs.nfsd.enable_locallocks safe (authored by rmacklem).
nfsd: Make modifying vfs.nfsd.enable_locallocks safe
Tue, Jul 23, 12:57 AM
rmacklem committed rGd5ae681d2e74: nfsd: Make modifying vfs.nfsd.enable_locallocks safe (authored by rmacklem).
nfsd: Make modifying vfs.nfsd.enable_locallocks safe
Tue, Jul 23, 12:32 AM

Mon, Jul 22

rmacklem committed rGe6d78780c9cc: nfsd: Allow a mutex lock for clientID handling (authored by rmacklem).
nfsd: Allow a mutex lock for clientID handling
Mon, Jul 22, 11:33 PM
rmacklem committed rG7a76f3591036: nfsd: Allow a mutex lock for clientID handling (authored by rmacklem).
nfsd: Allow a mutex lock for clientID handling
Mon, Jul 22, 10:10 PM
rmacklem committed rGc664b786ccd1: nfsd: Fix nfsrv_cleanclient so that it can be called with a mutex (authored by rmacklem).
nfsd: Fix nfsrv_cleanclient so that it can be called with a mutex
Mon, Jul 22, 1:40 AM

Sun, Jul 21

rmacklem committed rG7ac2b39c59bd: nfsd: Fix nfsrv_cleanclient so that it can be called with a mutex (authored by rmacklem).
nfsd: Fix nfsrv_cleanclient so that it can be called with a mutex
Sun, Jul 21, 11:11 PM
rmacklem committed rG026cdaa3b3a9: nfscl: Scan readdir reply filenames for invalid characters (authored by rmacklem).
nfscl: Scan readdir reply filenames for invalid characters
Sun, Jul 21, 10:58 PM

Sat, Jul 13

rmacklem committed rG0ed8ae14d9e0: nfscl: Add a check for VREG for delegations (authored by rmacklem).
nfscl: Add a check for VREG for delegations
Sat, Jul 13, 12:50 AM
rmacklem committed rGc71b59bbc4a3: nfscl: Add support for read delegations and atomic upgrade (authored by rmacklem).
nfscl: Add support for read delegations and atomic upgrade
Sat, Jul 13, 12:48 AM
rmacklem committed rGf6f9589b9f05: nfscl: Add support for the NFSv4.1/4.2 WANT_xxx flags (authored by rmacklem).
nfscl: Add support for the NFSv4.1/4.2 WANT_xxx flags
Sat, Jul 13, 12:47 AM

Thu, Jul 11

rmacklem committed rGbae19029ad2a: rpcbind.8: Fix missing option entry in commit df3f247e4696 (authored by rmacklem).
rpcbind.8: Fix missing option entry in commit df3f247e4696
Thu, Jul 11, 8:05 PM
rmacklem committed rG2e5c9eaf5728: mountd.8: Update the man page for -N and -s (authored by joyul_juniper.net).
mountd.8: Update the man page for -N and -s
Thu, Jul 11, 7:53 PM
rmacklem committed rG7c2901b08b4e: mountd: Add options to disable daemon mode and setting localhost (authored by joyul_juniper.net).
mountd: Add options to disable daemon mode and setting localhost
Thu, Jul 11, 7:41 PM

Tue, Jul 9

rmacklem committed rGf7dc514c01d0: nfsd.8: Update the man page for -N (authored by joyul_juniper.net).
nfsd.8: Update the man page for -N
Tue, Jul 9, 7:52 PM
rmacklem committed rG77439cd18f34: nfsd: Add option to disable going into daemon mode (authored by joyul_juniper.net).
nfsd: Add option to disable going into daemon mode
Tue, Jul 9, 7:48 PM

Sun, Jul 7

rmacklem committed rGdf3f247e4696: rpcbind.8: Update the man page for -I (authored by joyul_juniper.net).
rpcbind.8: Update the man page for -I
Sun, Jul 7, 7:21 PM
rmacklem added a comment to D45118: Add options for mountd , nfsd and rpcbind.

No problem Ed. Hope you enjoyed your vacation.
The code changes are pretty straightforward. I left
them in the style consistent with the rest of the code.
(Using "int"s instead of "bool"s for example.)

Sun, Jul 7, 2:39 AM

Sat, Jul 6

rmacklem committed rGd8a99eaa1f06: rpcbind: Add option to disable local host binding (authored by joyul_juniper.net).
rpcbind: Add option to disable local host binding
Sat, Jul 6, 8:43 PM
rmacklem closed D45118: Add options for mountd , nfsd and rpcbind.
Sat, Jul 6, 8:42 PM
rmacklem accepted D45118: Add options for mountd , nfsd and rpcbind.

I have made the changes suggested by Alexander Ziaee to the
man pages, although I cannot update the diff here.

Sat, Jul 6, 8:08 PM

Fri, Jul 5

rmacklem committed rGcbf54cdb36cf: nfsd: Update a file missed by commit e2c9fad2e0ae (authored by rmacklem).
nfsd: Update a file missed by commit e2c9fad2e0ae
Fri, Jul 5, 1:18 AM
rmacklem committed rG98c53b0b5540: nfsd: Fix delegation handled for atomic upgrade (authored by rmacklem).
nfsd: Fix delegation handled for atomic upgrade
Fri, Jul 5, 1:15 AM

Thu, Jul 4

rmacklem added a reviewer for D45118: Add options for mountd , nfsd and rpcbind: emaste.

Ed, maybe you can take a look at the source changes?
The man page changes have already been reviewed.
I can update those and I am willing to commit these
once you've taken a look at them.

Thu, Jul 4, 1:37 AM

Wed, Jul 3

rmacklem added a comment to D45814: Allow ZFS sharenfs to generate multiple export(5) lines.

If you are agreeable to my version of the length formula,
I will update the patch with that and checks for NULL
return for both strdup() and malloc().

Wed, Jul 3, 8:23 PM
rmacklem added a comment to D45814: Allow ZFS sharenfs to generate multiple export(5) lines.

I did take a quick look at the Linux code and it
appears to be completely different to me, so I
don't think trying to convert it makes sense, at
least for now.

Wed, Jul 3, 4:43 AM
rmacklem updated the diff for D45814: Allow ZFS sharenfs to generate multiple export(5) lines.

Used strdup() to copy the options into a malloc'd area,
as suggested by mav@. This makes sense, since a sharenfs
with many semicolons could be much larger than an
option list.

Wed, Jul 3, 4:39 AM

Mon, Jul 1

rmacklem updated the diff for D45814: Allow ZFS sharenfs to generate multiple export(5) lines.

This version ignores whitespace only semicolon separated
option sets. I decided that allowing the "only whitespace
case" which generates a line with default options (which
is read/write to the world) did not make sense when other
option sets are being specified for other hosts/networks.

Mon, Jul 1, 10:15 PM

Sun, Jun 30

rmacklem requested review of D45814: Allow ZFS sharenfs to generate multiple export(5) lines.
Sun, Jun 30, 7:59 PM

Jun 23 2024

rmacklem committed rG67284d32e5e0: nfsd: Make modifying vfs.nfsd.enable_locallocks safe (authored by rmacklem).
nfsd: Make modifying vfs.nfsd.enable_locallocks safe
Jun 23 2024, 10:49 PM

Jun 22 2024

rmacklem committed rGdfaeeacc2cc2: nfsd: Allow a mutex lock for clientID handling (authored by rmacklem).
nfsd: Allow a mutex lock for clientID handling
Jun 22 2024, 10:58 PM
rmacklem committed rG85641d316a87: nfsd: Delete an unused VNET global variable (authored by rmacklem).
nfsd: Delete an unused VNET global variable
Jun 22 2024, 1:28 AM

Jun 21 2024

rmacklem committed rGa7de51068502: nfsd: Fix nfsrv_cleanclient so that it can be called with a mutex (authored by rmacklem).
nfsd: Fix nfsrv_cleanclient so that it can be called with a mutex
Jun 21 2024, 10:11 PM

Jun 12 2024

rmacklem committed rGbb53f071e85a: nfscl: Add support for read delegations and atomic upgrade (authored by rmacklem).
nfscl: Add support for read delegations and atomic upgrade
Jun 12 2024, 11:43 PM
rmacklem committed rG4308d6e0fc09: nfscl: Add a check for VREG for delegations (authored by rmacklem).
nfscl: Add a check for VREG for delegations
Jun 12 2024, 11:18 PM
rmacklem committed rGec1f285f2e63: nfscl: Add support for the NFSv4.1/4.2 WANT_xxx flags (authored by rmacklem).
nfscl: Add support for the NFSv4.1/4.2 WANT_xxx flags
Jun 12 2024, 11:13 PM

Jun 8 2024

rmacklem committed rG13a51233e4c7: nfsd: Delete an unused VNET global variable (authored by rmacklem).
nfsd: Delete an unused VNET global variable
Jun 8 2024, 11:42 PM

Jun 5 2024

rmacklem committed rGdbe7ff254e6c: nfsd: Update a file missed by commit e2c9fad2e0ae (authored by rmacklem).
nfsd: Update a file missed by commit e2c9fad2e0ae
Jun 5 2024, 1:58 AM
rmacklem committed rGe2c9fad2e0ae: nfsd: Fix delegation handled for atomic upgrade (authored by rmacklem).
nfsd: Fix delegation handled for atomic upgrade
Jun 5 2024, 1:50 AM

May 31 2024

rmacklem committed rG4c136aad80e6: svc.c: Check for a non-NULL xp_socket (authored by rmacklem).
svc.c: Check for a non-NULL xp_socket
May 31 2024, 10:37 PM

May 28 2024

rmacklem committed rG6c9170e0afc4: svc.c: Check for a non-NULL xp_socket (authored by rmacklem).
svc.c: Check for a non-NULL xp_socket
May 28 2024, 2:24 AM

May 26 2024

rmacklem committed rGc68db4608ef6: Revert "nfscl: Do not do readahead for directories" (authored by rmacklem).
Revert "nfscl: Do not do readahead for directories"
May 26 2024, 3:06 PM
rmacklem added a reverting change for rGfbe965591f8a: nfscl: Do not do readahead for directories: rGc68db4608ef6: Revert "nfscl: Do not do readahead for directories".
May 26 2024, 3:06 PM

May 13 2024

rmacklem committed rG2c65656b29fb: nfsd: Fix Link conformance with RFC8881 for delegations (authored by rmacklem).
nfsd: Fix Link conformance with RFC8881 for delegations
May 13 2024, 4:52 AM

May 11 2024

rmacklem committed rG85e63d952d5d: nfsd: Fix Link conformance with RFC8881 for delegations (authored by rmacklem).
nfsd: Fix Link conformance with RFC8881 for delegations
May 11 2024, 1:12 AM
rmacklem committed rG3c414a8c2fb3: nfsd: Fix Link conformance with RFC8881 for delegations (authored by rmacklem).
nfsd: Fix Link conformance with RFC8881 for delegations
May 11 2024, 1:07 AM

May 10 2024

rmacklem committed rGfbe965591f8a: nfscl: Do not do readahead for directories (authored by rmacklem).
nfscl: Do not do readahead for directories
May 10 2024, 1:36 AM

May 7 2024

rmacklem added a reviewer for D45118: Add options for mountd , nfsd and rpcbind: manpages.

I've made some inline comments, but it looks generally ok to me.
All the man page updates require a change to the date (.Dd line)
and manpages should be asked for a group review.

May 7 2024, 10:36 PM
rmacklem added a comment to D36194: copy_file_range: If _PC_MIN_HOLE_SIZE is small, use mnt_stat.f_iosize.

I believe so, yes.

May 7 2024, 12:36 AM

May 4 2024

rmacklem committed rG3f65000b6b14: nfsd: Fix Link conformance with RFC8881 for delegations (authored by rmacklem).
nfsd: Fix Link conformance with RFC8881 for delegations
May 4 2024, 9:33 PM

May 2 2024

rmacklem committed rGf8575d4e4758: krpc: Ref cnt the client structures for TLS upcalls (authored by rmacklem).
krpc: Ref cnt the client structures for TLS upcalls
May 2 2024, 1:21 AM
rmacklem committed rGf6b902a4117a: krpc: Ref cnt the client structures for TLS upcalls (authored by rmacklem).
krpc: Ref cnt the client structures for TLS upcalls
May 2 2024, 1:13 AM

May 1 2024

rmacklem committed rG825cb4c850f2: nfscl: Clear out a lot of cruft related to B_DIRECT (authored by rmacklem).
nfscl: Clear out a lot of cruft related to B_DIRECT
May 1 2024, 1:25 AM
rmacklem committed rG19b6aa047e77: nfscl: Do not use nfso_own for delayed nfsrpc_doclose() (authored by rmacklem).
nfscl: Do not use nfso_own for delayed nfsrpc_doclose()
May 1 2024, 1:18 AM
rmacklem committed rGa3b8266f5420: nfscl: Clear out a lot of cruft related to B_DIRECT (authored by rmacklem).
nfscl: Clear out a lot of cruft related to B_DIRECT
May 1 2024, 1:13 AM
rmacklem committed rGc91861cc216d: nfscl: Do not use nfso_own for delayed nfsrpc_doclose() (authored by rmacklem).
nfscl: Do not use nfso_own for delayed nfsrpc_doclose()
May 1 2024, 1:06 AM

Apr 28 2024

rmacklem added a reverting change for rGf300335d9aeb: nfsd: Fix NFSv4.1/4.2 Claim_Deleg_Cur_FH: rGfba90651e430: Revert "nfsd: Fix NFSv4.1/4.2 Claim_Deleg_Cur_FH".
Apr 28 2024, 1:42 AM
rmacklem committed rGfba90651e430: Revert "nfsd: Fix NFSv4.1/4.2 Claim_Deleg_Cur_FH" (authored by rmacklem).
Revert "nfsd: Fix NFSv4.1/4.2 Claim_Deleg_Cur_FH"
Apr 28 2024, 1:42 AM
rmacklem added a reverting change for rGf300335d9aeb: nfsd: Fix NFSv4.1/4.2 Claim_Deleg_Cur_FH: rGaab71045646b: Revert "nfsd: Fix NFSv4.1/4.2 Claim_Deleg_Cur_FH".
Apr 28 2024, 1:38 AM
rmacklem committed rGaab71045646b: Revert "nfsd: Fix NFSv4.1/4.2 Claim_Deleg_Cur_FH" (authored by rmacklem).
Revert "nfsd: Fix NFSv4.1/4.2 Claim_Deleg_Cur_FH"
Apr 28 2024, 1:38 AM
rmacklem committed rG2fe5dc8691d5: nfscl: Revert part of commit 196787f79e67 (authored by rmacklem).
nfscl: Revert part of commit 196787f79e67
Apr 28 2024, 12:37 AM
rmacklem closed D44980: nfscl: Clear out a lot of cruft related to B_DIRECT that is never executed.
Apr 28 2024, 12:13 AM
rmacklem committed rG03a39a17089a: nfscl: Clear out a lot of cruft related to B_DIRECT (authored by rmacklem).
nfscl: Clear out a lot of cruft related to B_DIRECT
Apr 28 2024, 12:13 AM

Apr 27 2024

rmacklem updated the diff for D44980: nfscl: Clear out a lot of cruft related to B_DIRECT that is never executed.

Made the changes suggested by kib@.

Apr 27 2024, 10:52 PM
rmacklem requested review of D44980: nfscl: Clear out a lot of cruft related to B_DIRECT that is never executed.
Apr 27 2024, 3:29 AM
rmacklem committed rG4ba444de708b: krpc: Ref cnt the client structures for TLS upcalls (authored by rmacklem).
krpc: Ref cnt the client structures for TLS upcalls
Apr 27 2024, 12:57 AM

Apr 26 2024

rmacklem committed rG6251027c4252: nfscl: Do not use nfso_own for delayed nfsrpc_doclose() (authored by rmacklem).
nfscl: Do not use nfso_own for delayed nfsrpc_doclose()
Apr 26 2024, 4:00 AM

Apr 25 2024

rmacklem committed rG8efba70d7914: nfscl: Revert part of commit 196787f79e67 (authored by rmacklem).
nfscl: Revert part of commit 196787f79e67
Apr 25 2024, 7:34 PM
rmacklem added a reverting change for rGf300335d9aeb: nfsd: Fix NFSv4.1/4.2 Claim_Deleg_Cur_FH: rG54c3aa02e926: Revert "nfsd: Fix NFSv4.1/4.2 Claim_Deleg_Cur_FH".
Apr 25 2024, 4:46 PM
rmacklem committed rG54c3aa02e926: Revert "nfsd: Fix NFSv4.1/4.2 Claim_Deleg_Cur_FH" (authored by rmacklem).
Revert "nfsd: Fix NFSv4.1/4.2 Claim_Deleg_Cur_FH"
Apr 25 2024, 4:46 PM

Apr 23 2024

rmacklem accepted D44906: nfs: Default to nfs_reserved_port_only="YES".

lgtm

Apr 23 2024, 4:08 PM
rmacklem added a comment to D44906: nfs: Default to nfs_reserved_port_only="YES".

Oh hmm, not unrelated, but at a glance I think it is superseded by the privport check. That is, all code paths which lead there first have to go through the privport check. But I could be wrong about this.

It feels like NFS_REQRSVPORT is older but apparently it was introduced by the same (initial) commit as the if (nfs_privport ... check (9ec7b004d0edb). Maybe replacing NFS_REQRSVPORT by a runtime check for nfs_privport would make sense, but I don't really know this code. It may be instead that the code under NFS_REQRSVPORT is redundant, I'm not sure either. In any case, this would be a separate change.

Apr 23 2024, 5:22 AM

Apr 22 2024

rmacklem accepted D44906: nfs: Default to nfs_reserved_port_only="YES".

lgtm. I cannot recall if there is any man page change
needed for this?

Apr 22 2024, 9:52 PM

Apr 18 2024

rmacklem committed rG40631b79b5fe: nfscl: Purge name cache when readdir_plus is done (authored by zbeeble_gmail.com).
nfscl: Purge name cache when readdir_plus is done
Apr 18 2024, 12:51 AM

Apr 16 2024

rmacklem accepted D44819: nfsserver: Rate-limit messages about requests from unprivileged ports.

lgtm

Apr 16 2024, 11:29 PM
rmacklem committed rG936c6d5c9618: mountd.8: Document the new -A mountd option (authored by rmacklem).
mountd.8: Document the new -A mountd option
Apr 16 2024, 3:02 AM

Apr 14 2024

rmacklem committed rGc39938ddd3a7: exports.5: Add RFC number for NFS over TLS (authored by rmacklem).
exports.5: Add RFC number for NFS over TLS
Apr 14 2024, 1:17 AM
rmacklem committed rG4ce277a31523: exports.5: Add RFC number for NFS over TLS (authored by rmacklem).
exports.5: Add RFC number for NFS over TLS
Apr 14 2024, 1:13 AM
rmacklem committed rG58fdd8509cf1: mountd.c: Add warning messages for administrative controls (authored by rmacklem).
mountd.c: Add warning messages for administrative controls
Apr 14 2024, 1:05 AM

Apr 11 2024

rmacklem committed rGd00c64bb2347: nfscl: Purge name cache when readdir_plus is done (authored by zbeeble_gmail.com).
nfscl: Purge name cache when readdir_plus is done
Apr 11 2024, 8:32 PM

Apr 9 2024

rmacklem abandoned D44499: Clarify how exports work for administrative controls.

markj@ has a better patch in D44614.

Apr 9 2024, 2:04 AM
rmacklem committed rGcce11997a052: mountd.8: Document the new -A mountd option (authored by rmacklem).
mountd.8: Document the new -A mountd option
Apr 9 2024, 2:00 AM
rmacklem closed D44692: mountd.8: Document the new -A mountd option.
Apr 9 2024, 2:00 AM

Apr 8 2024

rmacklem requested review of D44692: mountd.8: Document the new -A mountd option.
Apr 8 2024, 11:52 PM
rmacklem accepted D44614: exports.5: Clarify that exported dirs should be local mount points.
Apr 8 2024, 11:13 PM

Apr 7 2024

rmacklem committed rG401c0f8aa1ce: exports.5: Add RFC number for NFS over TLS (authored by rmacklem).
exports.5: Add RFC number for NFS over TLS
Apr 7 2024, 11:37 PM

Apr 3 2024

rmacklem accepted D44614: exports.5: Clarify that exported dirs should be local mount points.

I made a couple of comments, but feel free to ignore
them, since I think the patch is fine without the changes.

Apr 3 2024, 8:18 PM

Apr 1 2024

rmacklem committed rG23a48a469a4e: nfsd.8: Document ways to minimize Copy operation times (authored by rmacklem).
nfsd.8: Document ways to minimize Copy operation times
Apr 1 2024, 2:17 AM
rmacklem committed rG71f16d2efe7e: nfsd.8: Document ways to minimize Copy operation times (authored by rmacklem).
nfsd.8: Document ways to minimize Copy operation times
Apr 1 2024, 2:12 AM

Mar 31 2024

rmacklem committed rGfefb7c399b39: mountd.c: Add warning messages for administrative controls (authored by rmacklem).
mountd.c: Add warning messages for administrative controls
Mar 31 2024, 7:01 PM
rmacklem closed D44502: Make mountd generate warning log messages when administrative controls exports entire file systems.
Mar 31 2024, 7:01 PM

Mar 30 2024

rmacklem committed rG322412b83bef: vfs_vnops.c: Use va_bytes >= va_size hint to avoid SEEK_DATA/SEEKHOLE (authored by rmacklem).
vfs_vnops.c: Use va_bytes >= va_size hint to avoid SEEK_DATA/SEEKHOLE
Mar 30 2024, 9:01 PM
rmacklem committed rGd3db309653aa: nfsd: Add a sysctl to limit NFSv4.2 Copy RPC size (authored by rmacklem).
nfsd: Add a sysctl to limit NFSv4.2 Copy RPC size
Mar 30 2024, 1:07 AM
rmacklem committed rGb525301850f2: nfsd: Add a sysctl to limit NFSv4.2 Copy RPC size (authored by rmacklem).
nfsd: Add a sysctl to limit NFSv4.2 Copy RPC size
Mar 30 2024, 1:00 AM

Mar 29 2024

rmacklem committed rGdf2b8b494412: vfs_vnops.c: Use va_bytes >= va_size hint to avoid SEEK_DATA/SEEKHOLE (authored by rmacklem).
vfs_vnops.c: Use va_bytes >= va_size hint to avoid SEEK_DATA/SEEKHOLE
Mar 29 2024, 1:17 AM

Mar 27 2024

rmacklem added a comment to D44499: Clarify how exports work for administrative controls.

I'd somewhat prefer to make this more prominent, having its own paragraph in the description section. I understand that the problem at hand is a natural consequence of how exports(5) works, but it's really easy for someone new to NFS to miss that they can't "safely" export a single subdirectory from a local filesystem on the server.

Mar 27 2024, 10:26 PM

Mar 26 2024

rmacklem updated the diff for D44499: Clarify how exports work for administrative controls.

Made the changes suggested by emaste@.

Mar 26 2024, 2:07 AM
rmacklem added inline comments to D44502: Make mountd generate warning log messages when administrative controls exports entire file systems.
Mar 26 2024, 12:48 AM

Mar 25 2024

rmacklem requested review of D44502: Make mountd generate warning log messages when administrative controls exports entire file systems.
Mar 25 2024, 11:36 PM
rmacklem requested review of D44499: Clarify how exports work for administrative controls.
Mar 25 2024, 7:45 PM

Mar 20 2024

rmacklem accepted D44002: NFS: Request use of TCP_USE_DDP for in-kernel TCP sockets.

This version looks fine to me. I'll let you decide whether or
not to leave the TCP check in.

Mar 20 2024, 12:28 AM