Does unmount() sync dirty buffers
Ravishankar
cyberax82 at gmail.com
Tue Feb 14 09:13:19 EST 2012
Hello,
When we unmount a file system with the umount command or the umount()
system call, does the kernel sync the dirty buffers before the file system
is unmounted?I am assuming that the file system is not 'busy' (i.e no open
files etc) and no force options are specified. When I did a walk-through of
do_umount() call in fs/namespace.c, I could not find calls to sync any
dirty pages that might exist.
Thanks!
Ravi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20120214/3c605067/attachment.html
More information about the Kernelnewbies
mailing list