Whamcloud - gitweb
LU-4931 ladvise: Add willread advice support for ladvise 58/12458/36
authorLi Xi <lixi@ddn.com>
Sat, 6 Aug 2016 14:13:02 +0000 (22:13 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Mon, 15 Aug 2016 21:12:07 +0000 (21:12 +0000)
commitf756979d9730333394037f127e75f43910174622
tree46e2fa3dea7135a8c0864b3386baba9ae1183172
parent94f757bf67d58694201b2434f7879974c7abd622
LU-4931 ladvise: Add willread advice support for ladvise

This patch adds WILLREAD advice to ladvise framework. OSS will
prefetch data into memory when this hint is provided. It is not
garanteed how long the cached pages will be kept in memory.

Signed-off-by: Li Xi <lixi@ddn.com>
Change-Id: I21394b88a22a8c46ceae7151402341364860ee88
Reviewed-on: http://review.whamcloud.com/12458
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Gu Zheng <gzheng@ddn.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/doc/lfs-ladvise.1
lustre/include/lustre/lustre_user.h
lustre/include/obd_support.h
lustre/ofd/ofd_dev.c
lustre/ptlrpc/wiretest.c
lustre/tests/sanity.sh
lustre/utils/wirecheck.c
lustre/utils/wiretest.c