Whamcloud - gitweb
LU-921 llite: warning in case of discarding dirty pages
authorHongchao Zhang <hongchao.zhang@whamcloud.com>
Tue, 23 Oct 2012 12:00:17 +0000 (20:00 +0800)
committerOleg Drokin <green@whamcloud.com>
Tue, 30 Oct 2012 19:35:09 +0000 (15:35 -0400)
commit624a3ac233938153e889ae81f639cf46c0a8312b
tree91fd2168f36c2e25b4e19647331292a235599b55
parent4d65293e59a844518faaa0b56efb429a0d4612d5
LU-921 llite: warning in case of discarding dirty pages

when a client is evicted, dirty pages may get silently discarded,
the caller of successful write(2) will not know that the data he
wrote have been discarded due to eviction before it can be flushed
to the OSS.

Signed-off-by: Hongchao Zhang <hongchao.zhang@whamcloud.com>
Change-Id: Iecfbf096548ff08cdd6064d53ad8c688343fcddc
Reviewed-on: http://review.whamcloud.com/1908
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Jinshan Xiong <jinshan.xiong@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/include/lclient.h
lustre/llite/llite_internal.h
lustre/llite/llite_lib.c
lustre/llite/vvp_page.c
lustre/tests/recovery-small.sh