~vcs-imports/jgit/master

Viewing all changes in revision 3614.

  • Committer: David Pursehouse
  • Author(s): Dave Borowitz
  • Date: 2018-02-22 07:27:09 UTC
  • Revision ID: git-v1:879372eb72d8b8a073f4f73d98caa1cd15971bd5
DfsReaderIoStats: Clarify that "blocks" are really cache misses

The previous wording was ambiguous as to whether these were blocks
requested from the cache (hits + misses) or read from underlying storage
(misses only).

They are in fact recording only misses:
Accumulator#{readBlock,readBlockBytes,readBlockMicros} are only
incremented from BlockBasedFile#readOneBlock, which is only called from
the cache miss path in DfsBlockCache#getOrLoad (line 391).

Change-Id: I0135cd1e76d09c1e28e0f1833b34c312511c66ce

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: