Re: Does Linux sync(2) wait?

From: Stefan Smietanowski
Date: Mon Mar 22 2004 - 07:10:30 EST


Hi.

No idea about NFS, but sync(1) does wait. When I push 500M out to my
MO drive, the cp operation returns fairly quickly because I usually
have more than 500M free memory. Then I run sync(1), which takes
about 20 minutes before it returns.


20 minutes?!


He did say it was a magneto-optical drive.

That's 400KiB/s you know - pretty slow.

// Stefan
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/