Whamcloud - gitweb
LU-1943 osd: fix lost functionality in OFD and OSD
authorMikhail Pershin <tappro@whamcloud.com>
Fri, 14 Sep 2012 21:39:00 +0000 (01:39 +0400)
committerAndreas Dilger <adilger@whamcloud.com>
Mon, 1 Oct 2012 06:53:42 +0000 (02:53 -0400)
commit7c7d754dbe42180ee45eb8a41f36f51447c7abfc
tree834f25fe93ba1a55a1570b372a29a6d1945e3daf
parenteab2f2dbaea37fb9686ba7bd2a5ac7539752a658
LU-1943 osd: fix lost functionality in OFD and OSD

- restore ofd_fmd_expire() in ofd_ping()
- set OS_STATE_READONLY in osd_statfs()
- fix readcache initialization and add lprocfs entries for it
- fix test_19 to work with OSD if OFD is used

Signed-off-by: Mikhail Pershin <tappro@whamcloud.com>
Change-Id: I357b28d8d5de1e48c55b12faa4d31ac75dbd5f66
Reviewed-on: http://review.whamcloud.com/3991
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/ofd/ofd_obd.c
lustre/osd-ldiskfs/osd_handler.c
lustre/osd-ldiskfs/osd_internal.h
lustre/osd-ldiskfs/osd_lproc.c
lustre/tests/sanityn.sh