linux-cifs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Improved fix for reading stale data when cache=none
@ 2022-09-19  5:39 Ronnie Sahlberg
  2022-09-19  5:39 ` [PATCH] cifs: destage dirty pages before re-reading them for cache=none Ronnie Sahlberg
  0 siblings, 1 reply; 5+ messages in thread
From: Ronnie Sahlberg @ 2022-09-19  5:39 UTC (permalink / raw)
  To: linux-cifs; +Cc: Steve French

Steve, List

Please find a better patch to fix the data corruption issue I posted earlier
for when doing direct reads to an mmaped file after the mmaped area has changed.

The main difference is that I now destage and invalidate only the range that
is affected by the pread() and not the whole file so impact on performance should be reduced.
(that said, with cache=none there is probably no expectation of high performance in the first place )





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

end of thread, other threads:[~2022-09-19 21:21 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-19  5:39 Improved fix for reading stale data when cache=none Ronnie Sahlberg
2022-09-19  5:39 ` [PATCH] cifs: destage dirty pages before re-reading them for cache=none Ronnie Sahlberg
2022-09-19 14:46   ` Paulo Alcantara
2022-09-19 14:54   ` Enzo Matsumiya
2022-09-19 21:21     ` ronnie sahlberg

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