linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/2] NFSD: delay unmount source's export after inter-server copy completed.
@ 2021-04-09 18:05 Dai Ngo
  2021-04-09 18:05 ` [PATCH v3 1/2] " Dai Ngo
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Dai Ngo @ 2021-04-09 18:05 UTC (permalink / raw)
  To: olga.kornievskaia; +Cc: linux-nfs, trondmy, bfields, chuck.lever

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.



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2021-04-22 20:31 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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 ` [PATCH v3 0/2] NFSD: delay unmount source's export after inter-server copy completed Chuck Lever III

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).