Whamcloud - gitweb
LU-911 obdclass: new context tags for future use
authorMikhail Pershin <tappro@whamcloud.com>
Thu, 22 Mar 2012 09:53:22 +0000 (13:53 +0400)
committerOleg Drokin <green@whamcloud.com>
Mon, 7 May 2012 19:29:48 +0000 (15:29 -0400)
commitad30b8adb2d658659c900b3d1f830bcb976b21f8
treed79f8009ff608f7c5596e0505057f52c6eafd8d4
parentf05ca36e8c6920c435d5426b67ce5d13f9bf772b
LU-911 obdclass: new context tags for future use

- Add new thread tags: local, mgs and osp
- use LCT_LOCAL to avoid extra keys allocation when just local
  server update is needed.
- target_recovery_thread() is capable to serve OFD.

Signed-off-by: Alex Zhuravlev <bzzz@whamcloud.com>
Change-Id: Ic41673c91b8d519c95a8740c418070f9e14aa3a6
Signed-off-by: Mikhail Pershin <tappro@whamcloud.com>
Reviewed-on: http://review.whamcloud.com/1851
Tested-by: Hudson
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/include/lu_object.h
lustre/ldlm/ldlm_lib.c
lustre/mdt/mdt_handler.c
lustre/obdclass/dt_object.c
lustre/obdclass/lu_object.c
lustre/obdclass/md_local_object.c
lustre/osd-ldiskfs/osd_handler.c
lustre/ptlrpc/target.c