Whamcloud - gitweb
LU-1302 llog: modify llog_write/llog_add to support OSD
authorMikhail Pershin <tappro@whamcloud.com>
Mon, 10 Sep 2012 13:06:32 +0000 (17:06 +0400)
committerOleg Drokin <green@whamcloud.com>
Mon, 24 Sep 2012 19:46:15 +0000 (15:46 -0400)
commitabe5c61764860431d437b453310aea7742f68064
tree7082b5522e747d3bc22b596c783a30202bc63d36
parent7c9b3683737d26df3f0425274437ee87c769f770
LU-1302 llog: modify llog_write/llog_add to support OSD

- add transaction and declarations in API to work over OSD
- change logic in llog catalog to open plain llogs during
  declarations
- keep lop_obd_add to work via chain of obds, e.g. MDS-LOV-OSC.
  It will be not needed with LOD/OSP anymore

Signed-off-by: Mikhail Pershin <tappro@whamcloud.com>
Change-Id: Ifba546fcb5fe8434fd4aa21a21b831737df73729
Reviewed-on: http://review.whamcloud.com/3923
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Alex Zhuravlev <bzzz@whamcloud.com>
20 files changed:
lustre/include/linux/lvfs.h
lustre/include/lustre_log.h
lustre/lov/lov_log.c
lustre/mdd/mdd_device.c
lustre/mdd/mdd_lov.c
lustre/mds/mds_log.c
lustre/mgc/mgc_request.c
lustre/mgs/mgs_llog.c
lustre/obdclass/llog.c
lustre/obdclass/llog_cat.c
lustre/obdclass/llog_ioctl.c
lustre/obdclass/llog_lvfs.c
lustre/obdclass/llog_obd.c
lustre/obdclass/llog_test.c
lustre/obdfilter/filter.c
lustre/obdfilter/filter_log.c
lustre/osc/osc_request.c
lustre/ptlrpc/llog_net.c
lustre/ptlrpc/llog_server.c
lustre/ptlrpc/sec_config.c