linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Cache flush question.
@ 2011-01-04  8:44 Daniel Stodden
  2011-01-04 14:00 ` Rob Landley
  2011-01-04 14:32 ` Trond Myklebust
  0 siblings, 2 replies; 5+ messages in thread
From: Daniel Stodden @ 2011-01-04  8:44 UTC (permalink / raw)
  To: linux-nfs@vger.kernel.org


Hi anyone.

If somebody's got a sec to enlighten me, there's some phenomenon I
recently came across and found somewhat counterintuitive first.

Whenever I

 1. Dirty a bunch of pages backed by an NFS mount on some server.

 2. Block the traffic with iptables (TCP, assuming that mattered).
    Still plenty of writeback pending.

 3. Sync

I see #3 drive the dirty count in /proc/meminfo drop back to
almost-zero, immediately. The sync itself blocks, though.

So the pages are called clean the moment the write got queued, not
acked? Leaving the rest just to retransmits by the socket then? Is this
just done so because one can, or would that order rather matter for
consistency?

Thanks,
Daniel


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

end of thread, other threads:[~2011-01-06  7:33 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-04  8:44 Cache flush question Daniel Stodden
2011-01-04 14:00 ` Rob Landley
2011-01-04 14:32 ` Trond Myklebust
2011-01-05 23:15   ` Daniel Stodden
2011-01-06  7:33     ` Rob Landley

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