Does unmount() sync dirty buffers

Mulyadi Santosa mulyadi.santosa at gmail.com
Wed Feb 15 03:27:24 EST 2012


Hi :)

On Tue, Feb 14, 2012 at 21:13, Ravishankar <cyberax82 at gmail.com> wrote:
> 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?

Yep, it flushes them.  But i forget the exact code path, since last
time I checked it, it was in 2.4.x

-- 
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com



More information about the Kernelnewbies mailing list