Skip to content

RFC: fg/bg and fallback support for mount.nfs

Chuck Lever linux-nfs 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest19 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/19text-based mount.nfs: Use "child" instead of "bg" for nfsmount_sutils/mount/stropts.c+3 -30 replies
2/19text-based mount.nfs: parse option strings into listsutils/mount/Makefile.am utils/mount/parse_opt.c utils/mount/parse_opt.h+486 -20 replies
3/19text-based mount.nfs: start using new mount option parsing facilityutils/mount/stropts.c+71 -610 replies
4/19text-based mount.nfs: Fix mounthost= processingutils/mount/stropts.c+25 -00 replies
5/19text-based mount.nfs: Remove a helper function that is no longer usedutils/mount/stropts.c+0 -370 replies
6/19mount.nfs: rename mount_errors()utils/mount/error.c utils/mount/error.h utils/mount/nfs4mount.c +1 more+19 -100 replies
7/19text-based mount.nfs: Add text-based error reporting functionutils/mount/error.c utils/mount/error.h+57 -00 replies
8/19mount.nfs: Add error messages for errors reported by text-based mount(2)utils/mount/error.c+18 -20 replies
9/19mount.nfs: Provide comments for public network functionsutils/mount/network.c+37 -50 replies
10/19text-based mount.nfs: Create helpers for invoking mount(2) system callutils/mount/stropts.c+61 -00 replies
11/19text-based mount.nfs: Use helpers for invoking mount(2) system callutils/mount/stropts.c+2 -340 replies
12/19text-based mount.nfs:utils/mount/stropts.c+140 -00 replies
13/19mount.nfs: Implement falling back to NFSv2 and UDPutils/mount/stropts.c+25 -70 replies
14/19text-based mount.nfs: add a function to do foreground retriesutils/mount/stropts.c+54 -10 replies
15/19text-based mount.nfs: Use new call that handles NFSv2/3 foreground mountingutils/mount/stropts.c+4 -80 replies
16/19text-based mount.nfs: Add functions to handle background NFS v2/3 mountsutils/mount/stropts.c+74 -00 replies
17/19text-based mount.nfs: Plug "bg" processing into nfsmount_s()utils/mount/stropts.c+13 -60 replies
18/19text-based mount.nfs: Create fg/bg helpers for NFSv4 mountsutils/mount/stropts.c+124 -00 replies
19/19text-based mount.nfs: Implement fg/bg processing for NFSv4 mountsutils/mount/stropts.c+11 -30 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 00/19] RFC: fg/bg and fallback support for mount.nfs

I'm posting this for review and comments. This patch series is incomplete and known not to work. I'm still working out the bugs.

In this series, I implement support for probing the server and retrying when an initial text-based mount attempt fails, and support for retrying text-based mount requests in the foreground and background.

Road map:

Clean-up:
01 use-child-argument-for-nfsmount-s

Implement lexical parsing helpers to handle mount option manipulation:
02 add-mount-option-parsing-helpers
03 use-new-option-parsing-facility

Use the new parsing facility to fix a problem with the mounthost option:
04 fix-mounthost-option

Clean-up:
05 remove-unused-string-parsing-helpers

Adjust error reporting for text-based mounts:
06 rename-mount-errors
07 add-new-mount-errors-function
08 handle-new-error-reports

Clean-up:
09 comment-network-functions

Add structure for falling back:
10 add-try-nfsmount-and-friend
11 use-try-nfsmount-and-friend
12 add-rewrite-mount-options
13 add-fallback-support

Add structure for foreground NFS mounts:
14 add-nfs-foreground-mount
15 use-nfs-foreground-mount

Add structure for background NFS mounts:
16 add-bg-helpers
17 add-bg-for-nfs-mounts

Duplicate NFS implementation for NFSv4 mounts:
18 fg-bg-helpers-for-nfs4
19 add-fg-and-bg-for-nfs4-mounts

Signature · 9 lines
corporate:    <chuck dot lever at oracle dot com>

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
NFS maillist  -  [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs