Make the size of the thread pool in svnserve CL configurable.

* subversion/svnserve/svnserve.c
  (SVNSERVE_OPT_MIN_THREADS,
   SVNSERVE_OPT_MAX_THREADS): #define new option IDs
  (svnserve__options): Add option definitions if threads are available.
                       Unfortunately, there seems to be no way to use
                       THREADPOOL_*_SIZE constants here.
  (sub_main): Parse the new options and apply limits to the thread pool.

git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1584353 13f79535-47bb-0310-9956-ffa450edef68
Fix APR memory pool usage issue in config_pool.

* subversion/libsvn_repos/config_pool.c
  (auto_parse): Results must be allocated in the RESULT_POOL.

git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1584354 13f79535-47bb-0310-9956-ffa450edef68
Ensure consistency between proto rev and proto index files in FSFS f7
after a write operation to the transaction crashed.

Bottom line here is that the proto rev file may contain extra (garbage)
data that is not being referenced by anybody.

* subversion/libsvn_fs_fs/index.h
  (svn_fs_fs__p2l_proto_index_next_offset): Add private API to retrieve
                                            the expected length of the
                                            proto-rev file.

* subversion/libsvn_fs_fs/index.c
  (svn_fs_fs__p2l_proto_index_next_offset): Implement.

* subversion/libsvn_fs_fs/transaction.c
  (auto_truncate_proto_rev): New function matching the actual proto-rev
                             file size with the value expected as per
                             proto-index.
  (get_writable_proto_rev): Call the new function whenever we open the
                            proto-rev file.

git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1584356 13f79535-47bb-0310-9956-ffa450edef68
Small svnadmin --help output fixes.

* subversion/svnserve/svnserve.c
  (svnserve__options): Caching is for FSX as well. Make sure all
                       text fits nicely into 80 columns.

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