Whamcloud - gitweb
LU-5584 llite: ensure all data flush out when umount 03/12103/10
authorYang Sheng <yang.sheng@intel.com>
Sun, 28 Sep 2014 22:14:44 +0000 (06:14 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Thu, 30 Oct 2014 16:53:16 +0000 (16:53 +0000)
commit41ef9e4b10853c985b17e2ca5a0c430b11b40d60
treeab863935de766ed722c552cd432841c7bb3b816a
parent38c845dfcb6412a5ef15fb1de9b5cc1d48b91b53
LU-5584 llite: ensure all data flush out when umount

Write out all extents when clear inode. Otherwise we
may lose data while umount.

Change-Id: I199217c96a7ba49c2f3577a65750e7956a9af63a
Signed-off-by: Yang Sheng <yang.sheng@intel.com>
Signed-off-by: Jinshan Xiong <jinshan.xiong@intel.com>
Reviewed-on: http://review.whamcloud.com/12103
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Bobi Jam <bobijam@gmail.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/include/linux/lustre_compat25.h
lustre/llite/llite_lib.c