Whamcloud - gitweb
LU-1406 ofd: add OBD methods to handle OST requests
authorMikhail Pershin <tappro@whamcloud.com>
Thu, 24 May 2012 08:52:22 +0000 (12:52 +0400)
committerAndreas Dilger <adilger@whamcloud.com>
Tue, 19 Jun 2012 05:06:44 +0000 (01:06 -0400)
commit47b457491889278ef17f7dc4c72435e313829bdd
tree2801c22505f478bb9ec847956a6666c4bd4fdf2b
parenta67ea1c51daad1a2c774bdceeabbfac927d348e6
LU-1406 ofd: add OBD methods to handle OST requests

Finally add OBD handlers to process incoming requests.
Add stub for quota functions, quota is non-functional in OFD.
Fix couple minor issues:
- slot checking in ofd_last_rcvd_update() must check lr_idx
- remove osd_write_locked() assertion from __osd_xattr_set(),
  it is too excessive there

Signed-off-by: Mikhail Pershin <tappro@whamcloud.com>
Change-Id: Iab270cdf5f2ad41df86845190c5c6db3436279c8
Reviewed-on: http://review.whamcloud.com/2894
Tested-by: Hudson
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Alex Zhuravlev <bzzz@whamcloud.com>
lustre/include/lustre/lustre_idl.h
lustre/ofd/ofd_internal.h
lustre/ofd/ofd_obd.c
lustre/ofd/ofd_trans.c
lustre/osd-ldiskfs/osd_compat.c
lustre/osd-ldiskfs/osd_handler.c
lustre/ost/ost_handler.c