Author: stefan2
Date: Sat Apr 27 17:12:09 2013
New Revision: 1476628

URL: http://svn.apache.org/r1476628
Log:
On the fsfs-format7 branch: eliminate a seek() operation

* subversion/libsvn_fs_fs/index.c
  (packed_stream_open): the first read access will seek to the desired
                        offset, i.e. no need to seek() just after fopen().

Modified:
    subversion/branches/fsfs-format7/subversion/libsvn_fs_fs/index.c

Modified: subversion/branches/fsfs-format7/subversion/libsvn_fs_fs/index.c
URL: 
http://svn.apache.org/viewvc/subversion/branches/fsfs-format7/subversion/libsvn_fs_fs/index.c?rev=1476628&r1=1476627&r2=1476628&view=diff
==============================================================================
--- subversion/branches/fsfs-format7/subversion/libsvn_fs_fs/index.c (original)
+++ subversion/branches/fsfs-format7/subversion/libsvn_fs_fs/index.c Sat Apr 27 
17:12:09 2013
@@ -315,7 +315,6 @@ packed_stream_open(packed_number_stream_
   SVN_ERR(svn_io_file_open(&result->file, file_name,
                            APR_READ | APR_BUFFERED, APR_OS_DEFAULT,
                            result->pool));
-  SVN_ERR(svn_io_file_aligned_seek(result->file, block_size, NULL, 0, pool));
   
   result->used = 0;
   result->current = 0;


Reply via email to