Whamcloud - gitweb
LU-911 osd: fix th_sync and OSD_EXEC_OP issues
authorMikhail Pershin <tappro@whamcloud.com>
Fri, 13 Apr 2012 07:02:26 +0000 (11:02 +0400)
committerOleg Drokin <green@whamcloud.com>
Mon, 30 Apr 2012 01:56:09 +0000 (21:56 -0400)
commit8fb5cfb53421f93784a9afed4762ac8180406bf2
treec793e445c9659ec82ed1825631df400aa7a8a661
parentbaf067a765ba658ea16e8f81909d6a364a6f5b18
LU-911 osd: fix th_sync and OSD_EXEC_OP issues

This issues occurs during the porting from Orion to the master
- th_sync should accumulate values with '|=' to be not dropped
  occasionally to the async state from sync
- remove duplicated code
- remove ASSERTION in OSD_EXEC_OP as it was previously done but
  returned again from orion by mistake

Signed-off-by: Mikhail Pershin <tappro@whamcloud.com>
Change-Id: I6ee7eb8a086eae6e0a96364a90a192e6ac95903b
Reviewed-on: http://review.whamcloud.com/2530
Reviewed-by: Niu Yawei <niu@whamcloud.com>
Reviewed-by: Alex Zhuravlev <bzzz@whamcloud.com>
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
lustre/mdd/mdd_object.c
lustre/mdt/mdt_recovery.c
lustre/osd-ldiskfs/osd_internal.h