public inbox for linux-fsdevel@vger.kernel.org
 help / color / mirror / Atom feed
* What trigge fsync of file on last close of the open inode?
@ 2006-10-03 19:53 Steve French
  2006-10-03 20:05 ` Dave Kleikamp
  0 siblings, 1 reply; 9+ messages in thread
From: Steve French @ 2006-10-03 19:53 UTC (permalink / raw)
  To: linux-fsdevel; +Cc: Shirish S Pargaonkar

What triggers flush/fsync of dirty pages on last (file) close of inode?  
I was hunting through the sys_close code and did not see a call
to fsync or filemap_write_and_wait there.  Is it something done in libc 
above the vfs?

Someone had reported a problem with a writepages call coming in on with 
no open files (so presumably the file was closed, with dirty pages not 
written).

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

end of thread, other threads:[~2006-10-04 20:46 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-03 19:53 What trigge fsync of file on last close of the open inode? Steve French
2006-10-03 20:05 ` Dave Kleikamp
2006-10-03 20:45   ` Steve French
2006-10-03 21:15     ` Zach Brown
2006-10-03 21:40       ` Dave Kleikamp
2006-10-03 23:43         ` Zach Brown
2006-10-04 15:13       ` Steve French
2006-10-03 23:13     ` Jeremy Allison
2006-10-04 20:46       ` Trond Myklebust

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox