diff options
author | Michael Meeks <michael.meeks@suse.com> | 2012-04-15 03:33:22 +0200 |
---|---|---|
committer | Michael Meeks <michael.meeks@suse.com> | 2012-04-15 03:34:14 +0200 |
commit | a0b5ba2e821091b8053bfc1d2f9c99aca7431907 (patch) | |
tree | 583fd8424dbc23ad9d5f22bc17817f68ad9d5b57 /ucb | |
parent | c9f30fa2c913b4349a1b6cb6e6e3a11ee3a26521 (diff) |
re-open output file on save to fsync to improve first-start performance
Diffstat (limited to 'ucb')
-rw-r--r-- | ucb/source/ucp/file/shell.cxx | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/ucb/source/ucp/file/shell.cxx b/ucb/source/ucp/file/shell.cxx index 561e7f8dbf22..1cb03b32e141 100644 --- a/ucb/source/ucp/file/shell.cxx +++ b/ucb/source/ucp/file/shell.cxx @@ -1909,10 +1909,6 @@ shell::write( sal_Int32 CommandId, } } while( nReadBytes == nRequestedBytes ); - aFile.sync(); // fsync / flush it to disk. - OSL_TRACE( "fsync'd file '%s'\n", - rtl::OUStringToOString( aUnqPath, RTL_TEXTENCODING_UTF8 ).getStr() ); - err = aFile.close(); if( err != osl::FileBase::E_None ) { |