Whamcloud - gitweb
LU-1059 clio: to not try to discard freeing pages
authorJinshan Xiong <jinshan.xiong@whamcloud.com>
Tue, 31 Jan 2012 21:30:21 +0000 (13:30 -0800)
committerOleg Drokin <green@whamcloud.com>
Wed, 15 Feb 2012 23:16:39 +0000 (18:16 -0500)
commit79cca45d7fa4ea2f77cb0c7d13b6bad948249d99
tree562ee892feee2eb82b65dbbb96f4173a5ad7ce94
parentf51f29ef7e3321c1364f850871bfbb02cbb7c52c
LU-1059 clio: to not try to discard freeing pages

This is a bug imported in LU-948. We should check if we have owned
the page successfully before trying to discard it.

Signed-off-by: Jinshan Xiong <jinshan.xiong@whamcloud.com>
Change-Id: I30631be98f1fcc1b98abe727c8c6984b918bfffd
Reviewed-on: http://review.whamcloud.com/2073
Reviewed-by: James Simmons <uja.ornl@gmail.com>
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Niu Yawei <niu@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/obdclass/cl_lock.c