Whamcloud - gitweb
LU-983 llite: align readahead to 1M after ra_max adjustment
1. Align the readahead pages only if ria_start != 0, otherwise
the readahead pages will be cut to zero.
2. Add test_101e to verify small reads for small size files.
Add test_101f to verify max_read_ahead_whole_mb.
3. Port 101c from b1_8
Signed-off-by: Wang Di <di.wang@whamcloud.com>
Change-Id: Ia22434a5d546aa1154f6067c7db84743c4ff5a96
Reviewed-on: http://review.whamcloud.com/1998
Reviewed-by: Yu Jian <yujian@whamcloud.com>
Tested-by: Hudson
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>