]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
client: use fh min readahead to enable readahead
authorPatrick Donnelly <pdonnell@redhat.com>
Thu, 26 May 2016 20:32:58 +0000 (16:32 -0400)
committerPatrick Donnelly <pdonnell@redhat.com>
Fri, 10 Jun 2016 21:33:13 +0000 (17:33 -0400)
commit01c179bcce2dc8a269d78eb1be8198b12bd161f7
tree2a3ca1ce3af7861f147540ae5f6c5a70304593b7
parentbee02a073f4c551798bc490618a0e8d862893c25
client: use fh min readahead to enable readahead

The client was using the configured maximum readahead of 0 which was changed in
95ee69989129750fddce6a3b5644238c4b88ed74. This prevented readahead from ever
running (without setting a different default from 0).

Fixes: http://tracker.ceph.com/issues/16024
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
src/client/Client.cc
src/common/Readahead.cc
src/common/Readahead.h