* tools/server-side/svnfsfs/load-index-cmd.c
  (write_l2p_index): Remove unused variable.


git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1604724 13f79535-47bb-0310-9956-ffa450edef68
Introduce scratch pools in the block_read() family of functions.

Resident memory size of 'svn log -v' drops from 317MB to 173MB while
showing r11708 of ruby's Subversion repository via ra_local (on OpenBSD).
Repository format used for testing was fsfs7 without default settings.

* subversion/libsvn_fs_fs/cached_data.c
  (svn_fs_fs__get_changes): Rename 'pool' argument to 'result_pool'.
   Create a local scratch pool and pass it down.
  (init_rep_state): Rename 'pool' argument to 'result_pool'.
  (block_read_windows, read_rep_header, block_read_contents,
   block_read_changes, block_read_noderev): Switch to dual-pool
   model (result/scratch pool), and pass a scratch pool where
   possible (in particular, svn_cache__set()).
  (block_read): Pass iterpool as scratch pool to block_read_*.


git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1604726 13f79535-47bb-0310-9956-ffa450edef68