Messages in this thread | | | From | Chuck Lever III <> | Subject | Re: [PATCH 1/3] nfsd: use __fput_sync() to avoid delayed closing of files. | Date | Fri, 15 Dec 2023 19:35:57 +0000 |
| |
> On Dec 15, 2023, at 1:27 PM, David Laight <David.Laight@ACULAB.COM> wrote: > > ... > > I'm also sure I remember that nfs wasn't supposed to respond to a write > until it had issued the actual disk write - but maybe no one do that > any more because it really is too slow. > (Especially if the 'disk' is a USB stick.)
That rule applies only to NFSv2, which no-one should use any more.
NFSv3 and later use a two-phase write. Clients send a COMMIT after an UNSTABLE WRITE to get the persistence guarantee.
-- Chuck Lever
| |