Whamcloud - gitweb
LU-2883 hsm: Mark file DIRTY as soon as pages are written
authorAurelien Degremont <aurelien.degremont@cea.fr>
Wed, 27 Feb 2013 13:57:34 +0000 (14:57 +0100)
committerOleg Drokin <oleg.drokin@intel.com>
Fri, 15 Mar 2013 20:44:37 +0000 (16:44 -0400)
commit3a0bb68dca5f7f28e650cf521d703b2714087830
tree12b3ee27a5d5a2ebbff6a533e3a1d743852a4e3c
parentd5390bbde9b525b13ab91f5610abe1c4bb98eff9
LU-2883 hsm: Mark file DIRTY as soon as pages are written

Since the dirty flag has to be packed in close, it should be set when
pages are written and not when building BRWs like SOM which relies on
MDS_DONE_WRITING.

Signed-off-by: Aurelien Degremont <aurelien.degremont@cea.fr>
Change-Id: I9cf0a71cf3228a7aadb8205cff2735a7abff5ef0
Reviewed-on: http://review.whamcloud.com/5543
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Jinshan Xiong <jinshan.xiong@intel.com>
Reviewed-by: Johann Lombardi <johann.lombardi@intel.com>
lustre/llite/llite_close.c
lustre/llite/vvp_io.c
lustre/tests/sanity-hsm.sh