Whamcloud - gitweb
LU-2701 osp: wake up sync thread
authorAlex Zhuravlev <alexey.zhuravlev@intel.com>
Tue, 19 Feb 2013 08:02:14 +0000 (12:02 +0400)
committerOleg Drokin <oleg.drokin@intel.com>
Fri, 15 Mar 2013 05:26:55 +0000 (01:26 -0400)
commit08f093ce2c799faf7a580f53850ecb13d2b71603
tree0c4b806cf57bab5134d3b9088dda89a051000a12
parent6b8967aa9545fbf5942cc79438d27cd38e919f70
LU-2701 osp: wake up sync thread

osp_sync_process_committed() to wake up sync thread when it
is requested to stop (e.g. umount) and there is no pending
work left. the patch adds a sanity check to ensure this
process is not taking too long.

Signed-off-by: Alex Zhuravlev <alexey.zhuravlev@intel.com>
Change-Id: I5251013afc2aee55627c806a11eb826a9d3dbec9
Reviewed-on: http://review.whamcloud.com/5463
Tested-by: Hudson
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Keith Mannthey <keith.mannthey@intel.com>
Reviewed-by: Mike Pershin <mike.pershin@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/osp/osp_sync.c