linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Chuck Lever III <chuck.lever@oracle.com>
To: Dai Ngo <dai.ngo@oracle.com>,
	Olga Kornievskaia <olga.kornievskaia@gmail.com>
Cc: Linux NFS Mailing List <linux-nfs@vger.kernel.org>,
	Trond Myklebust <trondmy@hammerspace.com>,
	Bruce Fields <bfields@fieldses.org>
Subject: Re: [PATCH v3 0/2] NFSD: delay unmount source's export after inter-server copy completed.
Date: Sun, 11 Apr 2021 16:46:55 +0000	[thread overview]
Message-ID: <5E7177EB-DE0D-434C-89DF-5BC090FBE642@oracle.com> (raw)
In-Reply-To: <20210409180519.25405-1-dai.ngo@oracle.com>



> On Apr 9, 2021, at 2:05 PM, Dai Ngo <dai.ngo@oracle.com> wrote:
> 
> Hi Olga,
> 
> Currently the source's export is mounted and unmounted on every
> inter-server copy operation. This causes unnecessary overhead
> for each copy.
> 
> This patch series is an enhancement to allow the export to remain
> mounted for a configurable period (default to 15 minutes). If the 
> export is not being used for the configured time it will be unmounted
> by a delayed task. If it's used again then its expiration time is
> extended for another period.
> 
> Since mount and unmount are no longer done on each copy request,
> this overhead is no longer used to decide whether the copy should
> be done with inter-server copy or generic copy. The threshold is
> now a module configuration parameter, default to 16MB.
> 
> -Dai
> 
> v2: fix compiler warning of missing prototype.
> v3: remove the used of semaphore.
>    eliminated all RPC calls for subsequence mount by allowing
>       all exports from one server to share one vfsmount.
>    make inter-server threshold a module configuration parameter.

This series is close, but it doesn't seem 100% ready yet. Let's
defer it for the next merge window to give a little more time for
review, testing, and discussion.


--
Chuck Lever




      parent reply	other threads:[~2021-04-11 16:47 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-09 18:05 [PATCH v3 0/2] NFSD: delay unmount source's export after inter-server copy completed Dai Ngo
2021-04-09 18:05 ` [PATCH v3 1/2] " Dai Ngo
2021-04-22  0:31   ` Olga Kornievskaia
2021-04-22 18:42     ` dai.ngo
2021-04-22 19:55       ` Olga Kornievskaia
2021-04-22 20:31         ` dai.ngo
2021-04-09 18:05 ` [PATCH v3 2/2] NFSv4.2: threshold for inter-server copy should be configurable Dai Ngo
2021-04-11 16:46 ` Chuck Lever III [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5E7177EB-DE0D-434C-89DF-5BC090FBE642@oracle.com \
    --to=chuck.lever@oracle.com \
    --cc=bfields@fieldses.org \
    --cc=dai.ngo@oracle.com \
    --cc=linux-nfs@vger.kernel.org \
    --cc=olga.kornievskaia@gmail.com \
    --cc=trondmy@hammerspace.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).