Whamcloud - gitweb
LU-3974 llite: invalidatepage api changed 29/7729/4
authorJames Simmons <uja.ornl@gmail.com>
Thu, 13 Feb 2014 01:01:42 +0000 (20:01 -0500)
committerOleg Drokin <oleg.drokin@intel.com>
Sat, 1 Mar 2014 02:42:53 +0000 (02:42 +0000)
commitf248d7294dc9a826938da88423722b14b807cf2a
treef7638dd9e026938eb25d78e3d02208baeb8c0eb0
parent44958192651b526101dec9a9e491532f62838496
LU-3974 llite: invalidatepage api changed

Until recently invalidating pages from the buffer cache
was dependent only on the page passed in and the start
in the page to invalidate. Starting with the 3.11 kernel
you can also specify the length of the data in the page
to invalidate. This patch enables us to handle the new
case.

Signed-off-by: James Simmons <uja.ornl@gmail.com>
Change-Id: Iedf458b20b2604bc3099d5ae38bf0ad07df83bd3
Reviewed-on: http://review.whamcloud.com/7729
Tested-by: Jenkins
Reviewed-by: Bob Glossman <bob.glossman@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Peng Tao <bergwolf@gmail.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/autoconf/lustre-core.m4
lustre/include/linux/lustre_patchless_compat.h
lustre/llite/rw26.c