[[[
Convert old svn_hash_read calls in fs_fs.c to new svn_hash_read2.
This ends up saving 4 file system calls per transaction.
The semantic difference between the two is that hash_read returns
success on empty files, while hash_read2 returns an error. We got the
empty files by calling open with the CREATE flag set.
This also fixes a minor memory leak if we had to retry on ESTALE.
]]]
subversion/libsvn_fs_fs/fs_fs.c
(svn_fs_fs__revision_proplist) Switch to svn_hash_read2.
(get_txn_proplist, get_txn_mergeinfo) open without CREATE and switch
to svn_hash_read2.
(svn_fs_fs__change_txn_prop, svn_fs_fs__change_txn_mergeinfo) Handle
file not existing yet.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Aug 17 22:16:03 2007