Whamcloud - gitweb
LU-7450 osd: call commit_callback if no write updates 68/17268/9
authorDi Wang <di.wang@intel.com>
Tue, 17 Nov 2015 16:17:12 +0000 (08:17 -0800)
committerOleg Drokin <oleg.drokin@intel.com>
Sun, 13 Dec 2015 21:57:56 +0000 (21:57 +0000)
commitc965fc8af8641cc810f6ff5c01cefceeaa79cb74
treec3ca55ca353c6403008605d434cde0a6ba16edac
parentbd8224bc63953b895c1dd3e35a6cb22d87a3bba2
LU-7450 osd: call commit_callback if no write updates

If it does not need write updates in some failure cases,
top_trans_stop should also call commit_callback to help
release the top_thandle in the commit list. Otherwise
it will stay in the commit list forever, as well as the
following top thandle, then update logs will be culmulated,
and cause long time recovery.

Signed-off-by: Di Wang <di.wang@intel.com>
Change-Id: I1feaf0bd6d20f14dfabb4572f49818083e697dbb
Reviewed-on: http://review.whamcloud.com/17268
Tested-by: Jenkins
Reviewed-by: James Simmons <uja.ornl@yahoo.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Alex Zhuravlev <alexey.zhuravlev@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/include/lustre_update.h
lustre/target/update_trans.c