Whamcloud - gitweb
LU-981 llite: fix loop back device writeback
authorJinshan Xiong <jinshan.xiong@whamcloud.com>
Wed, 25 Jan 2012 07:13:26 +0000 (23:13 -0800)
committerOleg Drokin <green@whamcloud.com>
Fri, 16 Mar 2012 22:06:17 +0000 (18:06 -0400)
commit56e56ed49fc5392048872e4b9502a4ea66be2d90
tree832a90124125516e81145d7b6db7b81debc9b70c
parent53402f0c0280425a1390a0c13840a750eb8c0a49
LU-981 llite: fix loop back device writeback

In vvp_mmap_locks(), we should distinguish if the write is from
loopback device, and to not try to find mmap region in this case.

Signed-off-by: Jinshan Xiong <jinshan.xiong@whamcloud.com>
Change-Id: I4409e460b77576e07e279200ccc69f62cc48ad0f
Reviewed-on: http://review.whamcloud.com/2010
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Mike Pershin <tappro@whamcloud.com>
Reviewed-by: Johann Lombardi <johann@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/llite/lloop.c
lustre/llite/vvp_io.c