linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] enhance NFSv4.2 SSC to delay unmount source's export.
@ 2021-04-01 23:12 Dai Ngo
  2021-04-01 23:12 ` [PATCH 1/2] NFSD: delay unmount source's export after inter-server copy completed Dai Ngo
  2021-04-01 23:12 ` [PATCH 2/2] NFSv4.2: mount overhead should not be used as threshold for inter-server copy Dai Ngo
  0 siblings, 2 replies; 4+ messages in thread
From: Dai Ngo @ 2021-04-01 23:12 UTC (permalink / raw)
  To: olga.kornievskaia; +Cc: linux-nfs, trondmy, bfields, chuck.lever

Hi,

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 used
to determine sync or async copy is now used for this decision.

-Dai



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

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

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-04-01 23:12 [PATCH 0/2] enhance NFSv4.2 SSC to delay unmount source's export Dai Ngo
2021-04-01 23:12 ` [PATCH 1/2] NFSD: delay unmount source's export after inter-server copy completed Dai Ngo
2021-04-02  1:21   ` kernel test robot
2021-04-01 23:12 ` [PATCH 2/2] NFSv4.2: mount overhead should not be used as threshold for inter-server copy Dai Ngo

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