]> git.apps.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)
committerGreg Farnum <gfarnum@redhat.com>
Sun, 12 Jun 2016 21:07:20 +0000 (14:07 -0700)
commit1ec2ef876d0e5cfe595ebb4a98fabf4958e9e937
tree9ba56307648c65a452799f2a529ec51209cde819
parentb0bccc3dc11731466f9809013d6deb09f020693b
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>
(cherry picked from commit 01c179bcce2dc8a269d78eb1be8198b12bd161f7)

Signed-off-by: Greg Farnum <gfarnum@redhat.com
src/client/Client.cc
src/common/Readahead.cc
src/common/Readahead.h