Replaced the call to system("sync") in SpinUpDisk() with fdatasync(f) to avoid problems on NPTL systems

This commit is contained in:
Klaus Schmidinger
2005-02-19 13:51:44 +01:00
parent 605cd54280
commit 4871f1188e
3 changed files with 9 additions and 2 deletions

View File

@@ -1275,3 +1275,7 @@ Wolfgang Rohdewald <wolfgang@rohdewald.de>
Chad Flynt <hoochster@sofnet.com>
for suggestions and experiments regarding the buffer reserve in cTransfer
Chris Warren <dvb@ixalon.net>
for pointing out that the call to system("sync") in SpinUpDisk() should be
replaced with fsync(f) to avoid problems on NPTL systems