Page MenuHomeFreeBSD

rmacklem (Rick Macklem)
User

Projects

User Details

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

Recent Activity

Thu, Sep 20

rmacklem committed rS338817: Add the Layout stats operation to the NFSv4.2 server..
Add the Layout stats operation to the NFSv4.2 server.
Thu, Sep 20, 12:27 AM

Wed, Sep 19

rmacklem committed rS338812: Add the Layout Error operation to the NFSv4.2. server..
Add the Layout Error operation to the NFSv4.2. server.
Wed, Sep 19, 10:39 PM

Mon, Sep 17

rmacklem committed rS338706: Add the basic support for NFSv4.2 to the client and server..
Add the basic support for NFSv4.2 to the client and server.
Mon, Sep 17, 1:00 AM
rmacklem committed rS338705: Create a project area for adding NFSv4.2 support to the NFS client and server..
Create a project area for adding NFSv4.2 support to the NFS client and server.
Mon, Sep 17, 12:36 AM
rmacklem committed rS338704: Delete this project source tree since the up to date sources are now in.
Delete this project source tree since the up to date sources are now in
Mon, Sep 17, 12:27 AM
rmacklem committed rS338703: Delete this projects tree, since the up to date code is now in head/current..
Delete this projects tree, since the up to date code is now in head/current.
Mon, Sep 17, 12:16 AM

Mon, Aug 27

rmacklem committed rS338339: Add notice that this source tree is no longer being maintained..
Add notice that this source tree is no longer being maintained.
Mon, Aug 27, 1:03 PM
rmacklem committed rS338338: Add deprecation notice. This code is now maintained in head/current..
Add deprecation notice. This code is now maintained in head/current.
Mon, Aug 27, 12:35 PM

Fri, Aug 24

rmacklem committed rS338308: MFC: r337438.
MFC: r337438
Fri, Aug 24, 10:48 PM
rmacklem committed rS338307: MFC: r337438.
MFC: r337438
Fri, Aug 24, 10:41 PM

Aug 23 2018

rmacklem committed rS338217: Fix the nfsuserd.8 man page for the changes made to support uid/gid.
Fix the nfsuserd.8 man page for the changes made to support uid/gid
Aug 23 2018, 12:05 AM

Aug 22 2018

rmacklem committed rS338193: Revert r320758, which was the man page update for r320757 just reverted..
Revert r320758, which was the man page update for r320757 just reverted.
Aug 22 2018, 12:26 PM
rmacklem committed rS338192: Revert r320757 since it can cause "excl->shared" panics..
Revert r320757 since it can cause "excl->shared" panics.
Aug 22 2018, 12:20 PM

Aug 21 2018

rmacklem committed rS338132: MFC: r336839.
MFC: r336839
Aug 21 2018, 11:17 AM
rmacklem committed rS338131: MFC: r336839.
MFC: r336839
Aug 21 2018, 11:11 AM

Aug 18 2018

rmacklem committed rS338019: Fix LORs between vn_start_write() and vn_lock() in nfsrv_copymr()..
Fix LORs between vn_start_write() and vn_lock() in nfsrv_copymr().
Aug 18 2018, 7:14 PM

Aug 17 2018

rmacklem committed rS337990: Fix LORs between vn_start_write() and vn_lock() in the pNFS server..
Fix LORs between vn_start_write() and vn_lock() in the pNFS server.
Aug 17 2018, 9:12 PM
rmacklem committed rS337962: Don't set a file's size for the MDS file of a pNFS service..
Don't set a file's size for the MDS file of a pNFS service.
Aug 17 2018, 12:32 PM

Aug 9 2018

rmacklem committed rS337509: Fix a typo plus add a couple of sentences to pnfsserver.4..
Fix a typo plus add a couple of sentences to pnfsserver.4.
Aug 9 2018, 12:15 AM

Aug 8 2018

rmacklem committed rS337502: Fix the err() arguments for a nfssvc(8) failure..
Fix the err() arguments for a nfssvc(8) failure.
Aug 8 2018, 8:30 PM
rmacklem committed rS337501: Assorted fixes to handling of LayoutRecall callbacks, mostly error handling..
Assorted fixes to handling of LayoutRecall callbacks, mostly error handling.
Aug 8 2018, 8:21 PM

Aug 7 2018

rmacklem committed rS337438: Allow newnfs_request() to retry all callback RPCs with an NFSERR_DELAY reply..
Allow newnfs_request() to retry all callback RPCs with an NFSERR_DELAY reply.
Aug 7 2018, 9:29 PM

Aug 5 2018

rmacklem committed rS337363: Add a reference to pnfsserver.4 to the nfsd.8 man page..
Add a reference to pnfsserver.4 to the nfsd.8 man page.
Aug 5 2018, 8:37 PM
rmacklem committed rS337362: Update the pnfs.4 man page to reference the pnfsserver.4 man page..
Update the pnfs.4 man page to reference the pnfsserver.4 man page.
Aug 5 2018, 8:20 PM
rmacklem committed rS337361: Add pnfsserver.4 to the Makefile for nfsd..
Add pnfsserver.4 to the Makefile for nfsd.
Aug 5 2018, 8:15 PM
rmacklem committed rS337360: Add a man page that describes the setup of a pNFS service..
Add a man page that describes the setup of a pNFS service.
Aug 5 2018, 8:14 PM
rmacklem committed rS337357: Copy all bits of a file handle in case there is padding in the structure..
Copy all bits of a file handle in case there is padding in the structure.
Aug 5 2018, 7:22 PM

Aug 2 2018

rmacklem committed rS337170: Silence newer gcc warnings..
Silence newer gcc warnings.
Aug 2 2018, 8:11 PM
rmacklem committed rS337064: MFC: r336357.
MFC: r336357
Aug 2 2018, 3:14 AM

Aug 1 2018

rmacklem committed rS337058: MFC: r336357.
MFC: r336357
Aug 1 2018, 7:25 PM

Jul 31 2018

rmacklem committed rS337006: MFC: r336215.
MFC: r336215
Jul 31 2018, 9:02 PM
rmacklem committed rS337005: MFC: r336215.
MFC: r336215
Jul 31 2018, 8:57 PM

Jul 30 2018

rmacklem committed rS336933: Silence newer gcc warnings..
Silence newer gcc warnings.
Jul 30 2018, 8:25 PM
rmacklem committed rS336928: MFC: r335866.
MFC: r335866
Jul 30 2018, 7:29 PM
rmacklem committed rS336927: MFC: r335866.
MFC: r335866
Jul 30 2018, 7:24 PM
rmacklem committed rS336899: MFC: r334966.
MFC: r334966
Jul 30 2018, 12:17 PM
rmacklem committed rS336898: MFC: r334966.
MFC: r334966
Jul 30 2018, 12:10 PM

Jul 29 2018

rmacklem committed rS336878: Silence newer gcc warnings..
Silence newer gcc warnings.
Jul 29 2018, 9:51 PM

Jul 28 2018

rmacklem committed rS336846: MFC: r334492.
MFC: r334492
Jul 28 2018, 8:38 PM
rmacklem committed rS336842: MFC: r334492.
MFC: r334492
Jul 28 2018, 8:29 PM
rmacklem committed rS336839: Modify the NFSv4.1 server so that it allows ReclaimComplete as done by ESXi 6.7..
Modify the NFSv4.1 server so that it allows ReclaimComplete as done by ESXi 6.7.
Jul 28 2018, 8:21 PM

Jul 27 2018

rmacklem committed rS336798: Update nfsd.8 for support of IPv6 addresses for hosts in the "-p" option..
Update nfsd.8 for support of IPv6 addresses for hosts in the "-p" option.
Jul 27 2018, 11:38 PM
rmacklem committed rS336797: When parsing the "-p" option for nfsd, only use an IPv6 link local address.
When parsing the "-p" option for nfsd, only use an IPv6 link local address
Jul 27 2018, 11:34 PM
rmacklem committed rS336795: Add support for IPv6 addresses to the pNFS "-p" option..
Add support for IPv6 addresses to the pNFS "-p" option.
Jul 27 2018, 11:10 PM

Jul 21 2018

rmacklem committed rS336573: Set CLSET_TIMEOUT on TCP connections to pNFS DSs..
Set CLSET_TIMEOUT on TCP connections to pNFS DSs.
Jul 21 2018, 1:33 AM

Jul 20 2018

rmacklem committed rS336544: Update the comments and add a sysctl to set the retry limit for connections.
Update the comments and add a sysctl to set the retry limit for connections
Jul 20 2018, 12:38 PM
rmacklem committed rS336543: Update the krpc code to what is in head/current..
Update the krpc code to what is in head/current.
Jul 20 2018, 12:32 PM
rmacklem committed rS336542: Set SO_SNDTIMEO in the client side krpc when CLSET_TIMEOUT is done..
Set SO_SNDTIMEO in the client side krpc when CLSET_TIMEOUT is done.
Jul 20 2018, 12:03 PM
rmacklem closed D16293: when CLSET_TIMEOUT is used, set timeouts for sosend() and soconnect() in the krpc.
Jul 20 2018, 12:03 PM
rmacklem updated the diff for D16293: when CLSET_TIMEOUT is used, set timeouts for sosend() and soconnect() in the krpc.

I just ran a test without the timeout in the loop waiting for a connection
attempt and the time it took for a failover was only 1minute more than
with that patch.

Jul 20 2018, 1:50 AM

Jul 19 2018

rmacklem added a comment to D16293: when CLSET_TIMEOUT is used, set timeouts for sosend() and soconnect() in the krpc.

The problem is that, without the "timeout" it takes too long for the msleep() to wake up.
The "timeout" or whatever you prefer to call it is meant to set the upper bound on the
time that this loop waits for a TCP connection to complete to approximately
tv.tv_sec (the same timeout as set for SO_SNDTIMEO).

Jul 19 2018, 11:24 PM
rmacklem committed rS336518: MFC: r333766.
MFC: r333766
Jul 19 2018, 9:07 PM
rmacklem committed rS336516: MFC: r333766.
MFC: r333766
Jul 19 2018, 8:59 PM
rmacklem updated the diff for D16293: when CLSET_TIMEOUT is used, set timeouts for sosend() and soconnect() in the krpc.

Added comments as kib@ suggested and used tvtohz(), so that tv_usec component is included in timeout.
(I have emailed kib@ one that uses the 1sec timeout and I put that here if he prefers that one.)

Jul 19 2018, 12:22 PM
rmacklem added a comment to D16293: when CLSET_TIMEOUT is used, set timeouts for sosend() and soconnect() in the krpc.

I commented inline. I'll admit I don't see spurious wakeup()s will be a problem.
I can (actually already have for the patch I have) include the tv_usec field in
the timeout calculation.
(I'll admit I get nervous fooling with things like time_uptime, which can go
negative in 2038 and assorted things related to overflow.)

Jul 19 2018, 12:04 AM

Jul 18 2018

rmacklem added a comment to D16293: when CLSET_TIMEOUT is used, set timeouts for sosend() and soconnect() in the krpc.

Explained inline, but basically timeouts at both places count as one retry
and the RPC attempt fails when the limit on these retries is reached,
so it seems to me that they should be the same amount of time?

Jul 18 2018, 12:31 PM

Jul 17 2018

rmacklem added a comment to D16293: when CLSET_TIMEOUT is used, set timeouts for sosend() and soconnect() in the krpc.

I added an inline comment which was basically that I didn't think a timeout of a fraction
of 1sec or setting a timeout of greater than 1sec resolution would be useful.
(My assumption is that normal operation against a slow server could result
in delays of 1sec.)

Jul 17 2018, 10:10 PM
rmacklem committed rS336422: MFC: r333645.
MFC: r333645
Jul 17 2018, 7:26 PM
rmacklem committed rS336421: MFC: r333645.
MFC: r333645
Jul 17 2018, 7:10 PM
rmacklem committed rS336413: Update the NFS server code with recent changes in head for handling.
Update the NFS server code with recent changes in head for handling
Jul 17 2018, 12:13 PM

Jul 16 2018

rmacklem committed rS336357: Modify the reasons for not issuing a delegation in the NFSv4.1 server..
Modify the reasons for not issuing a delegation in the NFSv4.1 server.
Jul 16 2018, 9:32 PM
rmacklem created D16293: when CLSET_TIMEOUT is used, set timeouts for sosend() and soconnect() in the krpc.
Jul 16 2018, 8:54 PM

Jul 15 2018

rmacklem committed rS336312: Shut down the TCP connection to a DS in the pNFS client when Renew fails..
Shut down the TCP connection to a DS in the pNFS client when Renew fails.
Jul 15 2018, 6:55 PM

Jul 14 2018

rmacklem committed rS336296: Add a comment explaining why the timeout for DS connections is set to.
Add a comment explaining why the timeout for DS connections is set to
Jul 14 2018, 8:44 PM
rmacklem committed rS336295: Add code to the pNFS client so that it shuts down a TCP connection to a.
Add code to the pNFS client so that it shuts down a TCP connection to a
Jul 14 2018, 8:39 PM
rmacklem committed rS336292: Fix the pNFS client when mirrors aren't on the same machine..
Fix the pNFS client when mirrors aren't on the same machine.
Jul 14 2018, 7:52 PM
rmacklem committed rS336277: Set CLSET_TIMEOUT() on a TCP connection to a DS to lease_duration/4..
Set CLSET_TIMEOUT() on a TCP connection to a DS to lease_duration/4.
Jul 14 2018, 1:45 PM
rmacklem committed rS336276: Add a timeout to the msleep() waiting for a socket connection for the pNFS.
Add a timeout to the msleep() waiting for a socket connection for the pNFS
Jul 14 2018, 1:39 PM

Jul 13 2018

rmacklem committed rS336260: Close down the TCP connection to a pNFS DS when it is disabled..
Close down the TCP connection to a pNFS DS when it is disabled.
Jul 13 2018, 8:03 PM
rmacklem committed rS336239: Change the pNFS client so that it does not report an NFSERR_STALE from.
Change the pNFS client so that it does not report an NFSERR_STALE from
Jul 13 2018, 12:39 PM

Jul 12 2018

rmacklem committed rS336234: MFC: r333579.
MFC: r333579
Jul 12 2018, 10:59 PM
rmacklem committed rS336233: MFC: r333579.
MFC: r333579
Jul 12 2018, 10:53 PM
rmacklem committed rS336229: Modify the NFSv4.1 pNFS client to use separate TCP connections for DSs..
Modify the NFSv4.1 pNFS client to use separate TCP connections for DSs.
Jul 12 2018, 8:46 PM
rmacklem committed rS336228: Fix the NFSv4.1 pNFS client for the case of mirrored DSs on separate machines..
Fix the NFSv4.1 pNFS client for the case of mirrored DSs on separate machines.
Jul 12 2018, 8:29 PM

Jul 11 2018

rmacklem committed rS336215: Ignore the cookie verifier for NFSv4.1 when the cookie is 0..
Ignore the cookie verifier for NFSv4.1 when the cookie is 0.
Jul 11 2018, 11:23 PM

Jul 10 2018

rmacklem committed rS336183: Update the pnfs(4) man page..
Update the pnfs(4) man page.
Jul 10 2018, 10:53 PM
rmacklem committed rS336179: MFC: r333508.
MFC: r333508
Jul 10 2018, 7:38 PM
rmacklem committed rS336178: MFC: r333508.
MFC: r333508
Jul 10 2018, 7:28 PM
rmacklem committed rS336177: Document the "-f" option added to pnfsdskill(8) by r336176..
Document the "-f" option added to pnfsdskill(8) by r336176.
Jul 10 2018, 6:44 PM
rmacklem committed rS336176: Add a "-f" option to pnfsdskill(8) to force disabling of a DS..
Add a "-f" option to pnfsdskill(8) to force disabling of a DS.
Jul 10 2018, 6:41 PM

Jul 9 2018

rmacklem committed rS336147: Document the "-f" flag for pnfsdskill(1)..
Document the "-f" flag for pnfsdskill(1).
Jul 9 2018, 9:29 PM
rmacklem committed rS336141: Add support for a "forced" pnfsdskill to the pNFS server kernel code..
Add support for a "forced" pnfsdskill to the pNFS server kernel code.
Jul 9 2018, 7:58 PM
rmacklem committed rS336117: Add a -f/--force option to pnfsdskill, so that it disable a DS even if there.
Add a -f/--force option to pnfsdskill, so that it disable a DS even if there
Jul 9 2018, 12:47 AM
rmacklem committed rS336116: Modify the pNFS server kernel code so that a "force" option can be implemented.
Modify the pNFS server kernel code so that a "force" option can be implemented
Jul 9 2018, 12:38 AM

Jul 8 2018

rmacklem committed rS336093: Fix the kernel part of pnfsdscopymr() to handle holes in the file being copied..
Fix the kernel part of pnfsdscopymr() to handle holes in the file being copied.
Jul 8 2018, 6:16 PM

Jul 7 2018

rmacklem committed rS336075: Fix handling of the hybrid DS case for a pNFS server..
Fix handling of the hybrid DS case for a pNFS server.
Jul 7 2018, 7:28 PM

Jul 6 2018

rmacklem committed rS336049: Fix the kernel part of pnfsdscopymr() to handle holes in the file being copied..
Fix the kernel part of pnfsdscopymr() to handle holes in the file being copied.
Jul 6 2018, 9:02 PM
rmacklem committed rS336048: Add code the the krpc client so that it sets SO_SBTIMEO on the TCP socket.
Add code the the krpc client so that it sets SO_SBTIMEO on the TCP socket
Jul 6 2018, 7:55 PM
rmacklem committed rS336041: Change the pNFS server so that it does not disable a mirrored DS for.
Change the pNFS server so that it does not disable a mirrored DS for
Jul 6 2018, 7:19 PM
rmacklem committed rS336018: Change the pNFS client so that it uses separate TCP connections for same server..
Change the pNFS client so that it uses separate TCP connections for same server.
Jul 6 2018, 12:59 AM

Jul 5 2018

rmacklem committed rS336015: Change the pNFS client so that it does not report an NFSERR_STALE from.
Change the pNFS client so that it does not report an NFSERR_STALE from
Jul 5 2018, 8:20 PM
rmacklem committed rS336014: Change the pNFS server so that it does not disable a mirrored DS when a.
Change the pNFS server so that it does not disable a mirrored DS when a
Jul 5 2018, 8:12 PM

Jul 4 2018

rmacklem committed rS335968: Fix the pNFS server so that it handles the "#mds_path" check for mirrors..
Fix the pNFS server so that it handles the "#mds_path" check for mirrors.
Jul 4 2018, 7:46 PM

Jul 3 2018

rmacklem committed rS335918: For the case where there is a mix of DSs assigned to specific MDS file.
For the case where there is a mix of DSs assigned to specific MDS file
Jul 3 2018, 11:29 PM
rmacklem committed rS335915: Fix a check for a valid mirror when there are both DSs for all file systems.
Fix a check for a valid mirror when there are both DSs for all file systems
Jul 3 2018, 10:54 PM

Jul 2 2018

rmacklem committed rS335872: Document the "#mds_path" suffix for the "-p" command line option..
Document the "#mds_path" suffix for the "-p" command line option.
Jul 2 2018, 7:33 PM
rmacklem committed rS335871: Add an optional feature to the pNFS server..
Add an optional feature to the pNFS server.
Jul 2 2018, 7:26 PM
rmacklem committed rS335870: Add an optional feature to the pNFS server..
Add an optional feature to the pNFS server.
Jul 2 2018, 7:21 PM
rmacklem committed rS335867: Fix the server side krpc so that the kernel nfsd threads terminate..
Fix the server side krpc so that the kernel nfsd threads terminate.
Jul 2 2018, 5:54 PM
rmacklem closed D16087: fix a case where the kernel nfsd threads do not terminate.
Jul 2 2018, 5:51 PM