Whamcloud - gitweb
LU-4931 ladvise: Add dontneed advice support for ladvise 03/20203/8
authorLi Xi <lixi@ddn.com>
Tue, 14 Jun 2016 05:15:04 +0000 (13:15 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Thu, 15 Sep 2016 23:28:32 +0000 (23:28 +0000)
commita5a7890093ea2509db15f8aa8a8c9d9c86133209
treec04f2b781065e2c6afc704e8f7c9cb4fd7017680
parentad30b360f0cfc5aecadbebdf918f1bf20765a9eb
LU-4931 ladvise: Add dontneed advice support for ladvise

This patch addds DONTNEED advice to ladvise framework. OSS will
cleanup the page cache of the file when this hint is provided.

Signed-off-by: Li Xi <lixi@ddn.com>
Signed-off-by: Gu Zheng <gzheng@ddn.com>
Change-Id: If5cf7f3193924ca7cccb96d8d841c0d889469393
Reviewed-on: http://review.whamcloud.com/20203
Reviewed-by: Wang Shilong <wshilong@ddn.com>
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.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/ofd/ofd_dev.c
lustre/osd-ldiskfs/osd_io.c
lustre/ptlrpc/wiretest.c
lustre/tests/sanity.sh
lustre/utils/wirecheck.c
lustre/utils/wiretest.c