Whamcloud - gitweb
LU-9778 llite: Read ahead should return pages read 16/28316/2
authorPatrick Farrell <paf@cray.com>
Fri, 14 Jul 2017 14:07:52 +0000 (09:07 -0500)
committerJohn L. Hammond <john.hammond@intel.com>
Mon, 7 Aug 2017 18:51:18 +0000 (18:51 +0000)
commit548787df0a7e577b38d9387430733ff4bcb0e2c2
tree9457fdc5ed39c1fe36fb7938321b5577561abc55
parentf87c7c2cee6fc5a0864a757917a414dc605554b3
LU-9778 llite: Read ahead should return pages read

ll_read_ahead_pages was modified by:
LU-7990 clio: revise readahead to support 16MB IO
d8467ab8a2ca15fbbd5be3429c9cf9ceb0fa78b8

And returning the count of pages read was removed.

This only affects debug, but it's very nice to have it
printed out, and several messages still try to print out
pages read ahead, but print 0.

Restore this functionality.

Lustre-change: https://review.whamcloud.com/28052
Lustre-commit: 805118241598df27c7617eff4cb9d8229bc8d2ba

Signed-off-by: Patrick Farrell <paf@cray.com>
Change-Id: I80fe66b5195629e0c46d5d19c76e3bcc0030a22a
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Ben Evans <bevans@cray.com>
Reviewed-by: Gu Zheng <gzheng@ddn.com>
Reviewed-by: Jinshan Xiong <jinshan.xiong@intel.com>
Signed-off-by: Minh Diep <minh.diep@intel.com>
Reviewed-on: https://review.whamcloud.com/28316
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: John L. Hammond <john.hammond@intel.com>
lustre/llite/rw.c