Whamcloud - gitweb
LU-4976 osp: add comments for osp_trans.c functions 61/10361/6
authorFan Yong <fan.yong@intel.com>
Sat, 3 May 2014 02:39:24 +0000 (10:39 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Mon, 16 Jun 2014 02:50:12 +0000 (02:50 +0000)
commita0da0ad1438f694dcff9ee9826d388927ea19d4e
treed7bcd6630a2d637fdc8b650f50ae95ca26054370
parent94a6bc2a947359a9b03b039a2fb4bb49842666e5
LU-4976 osp: add comments for osp_trans.c functions

1) Rename some structures and functions names to avoid misguiding
   others, including:
1.1) osp_async_update_interpterer_t => osp_async_request_interpreter_t
1.2) osp_insert_async_update => osp_insert_async_request
1.3) osp_unplug_async_update => osp_unplug_async_request
1.4) osp_async_update_item => osp_async_request
1.5) osp_async_update_item_init => osp_async_request_init
1.6) osp_async_update_item_fini => osp_async_request_fini
1.7) osp_insert_async_update => osp_insert_async_request

2) Add introductory comment block for the osp_trans.c file. And add
   function comment blocks to all functions in the osp_trans.c file.

3) Typo fixing and code cleanup.

Signed-off-by: Fan Yong <fan.yong@intel.com>
Change-Id: I3dc4e9d6613baa035d228f2254306b6a71b2d48c
Reviewed-on: http://review.whamcloud.com/10361
Reviewed-by: Richard Henwood <richard.henwood@intel.com>
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/osp/osp_internal.h
lustre/osp/osp_object.c
lustre/osp/osp_trans.c