Does unmount() sync dirty buffers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux