All of lore.kernel.org
 help / color / mirror / Atom feed
* Question about the removal of __nfs_revalidate_inode() from do_setlk()
@ 2018-02-14 14:01 Scott Mayhew
  2018-02-14 15:01 ` Trond Myklebust
  0 siblings, 1 reply; 3+ messages in thread
From: Scott Mayhew @ 2018-02-14 14:01 UTC (permalink / raw)
  To: trondmy; +Cc: linux-nfs

Hi Trond,

Commit ca0daa2 ("NFS: Cache aggressively when file is open for writing")
removed the inode revalidation from do_setlk().  Why was that necessary?
If just that part of the commit is added back in, the client still seems
to be able to cope with out-of-order write replies.

Currently the client invalidates the data cache whenever it takes a lock
and that causes performance problems for some workloads... if a client
wants to re-read portions of a file, and no other client has modified 
that file, then why should the reads go out on the wire just because
locking is being used?

-Scott

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

end of thread, other threads:[~2018-02-14 18:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-02-14 14:01 Question about the removal of __nfs_revalidate_inode() from do_setlk() Scott Mayhew
2018-02-14 15:01 ` Trond Myklebust
2018-02-14 18:22   ` Scott Mayhew

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.