Whamcloud - gitweb
LU-1303 lod: QoS allocation policy
authorAlex Zhuravlev <alexey.zhuravlev@intel.com>
Thu, 20 Sep 2012 11:56:31 +0000 (15:56 +0400)
committerAndreas Dilger <adilger@whamcloud.com>
Fri, 28 Sep 2012 22:36:48 +0000 (18:36 -0400)
commitc7f2e70a27e872ddf61f254fd6d9b299d9745aa6
treeb9109a5ffeadcd0bd18c02e58ee88061430b9589
parentdf70a5c8938888686188cfc63748011f8c7557e0
LU-1303 lod: QoS allocation policy

basically a copy of lov_qos.c implemented with OSD API.

the patch introduces a special lu-helpers allowing objects
with zero fid - used by LOD/OSP as fid is being created late.
this is a requirement of current orphan cleanup protocol.
probably will be replace with natural fids generated outside
of OSP/transaction at some point.

Signed-off-by: Alex Zhuravlev <alexey.zhuravlev@intel.com>
Change-Id: I9f41d8a770eb7b8ca04b729bbf0866e5d27fff8a
Reviewed-on: http://review.whamcloud.com/4058
Reviewed-by: wangdi <di.wang@whamcloud.com>
Tested-by: Hudson
Reviewed-by: Mike Pershin <tappro@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lustre/include/lu_object.h
lustre/lod/lod_internal.h
lustre/lod/lod_object.c
lustre/lod/lod_qos.c
lustre/obdclass/lu_object.c