From Daniel Gryniewicz <dang(a)redhat.com>:
Daniel Gryniewicz has uploaded this change for review. (
https://review.gerrithub.io/420073
Change subject: FSAL_MEM - Fix broken readahead limit
......................................................................
FSAL_MEM - Fix broken readahead limit
In commit 001940e0, an attempt was made to limit readahead to 1 extra
chunk. However, it had 2 problems: first, it broke directories larger
than 2 chunks. The fix is to properly set EOF. Second, it actually did
a readahead of 2 * chunks + 1. Fix that off-by-one.
Change-Id: Ib03177cbd91040a6c9047ba879c399e7eb4dbdaa
Signed-off-by: Daniel Gryniewicz <dang(a)redhat.com>
---
M src/FSAL/FSAL_MEM/mem_handle.c
1 file changed, 9 insertions(+), 4 deletions(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/73/420073/1
--
To view, visit
https://review.gerrithub.io/420073
To unsubscribe, or for help writing mail filters, visit
https://review.gerrithub.io/settings
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib03177cbd91040a6c9047ba879c399e7eb4dbdaa
Gerrit-Change-Number: 420073
Gerrit-PatchSet: 1
Gerrit-Owner: Daniel Gryniewicz <dang(a)redhat.com>