Whamcloud - gitweb
LU-352 obdfilter: fix obdfilter-survey to work on verify mode.
authorAlexander.Boyko <alexander_boyko@xyratex.com>
Thu, 15 Mar 2012 06:14:27 +0000 (14:14 +0800)
committerOleg Drokin <green@whamcloud.com>
Fri, 6 Apr 2012 05:57:46 +0000 (01:57 -0400)
commitc13874ddf2b5a27bcac79b1db10cf426f487613c
treefb89fd356651a66acda5dbfe93504e97e0d16672
parentd40ad918bd688d9b5b3307ded042dd6d03cc414c
LU-352 obdfilter: fix obdfilter-survey to work on verify mode.

With r/o cache landing lctl test_brw command needs to choose a type
of operation with backend device. osc needs to use obd_brw mode,
but obdfilter doesn't work in that mode. It needs to force to use a
obd_prep + obd_commit more.

Signed-off-by: Alexey Lyashkov <alexey_lyashkov@xyratex.com>
Signed-off-by: Vitaly Fertman <vitaly_fertman@xyratex.com>
Signed-off-by: Alexander Boyko <alexander_boyko@xyratex.com>
Signed-off-by: Hongchao Zhang <hongchao.zhang@whamcloud.com>
Reviewed-by: Vitaly Fertman <vitaly_fertman@xyratex.com>
Xyratex-bug-id: MRP-131, MRP-277
Change-Id: I562784b3e9fe537929e78e0197256949cb27a9e1
Reviewed-on: http://review.whamcloud.com/598
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Yu Jian <yujian@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre-iokit/obdfilter-survey/obdfilter-survey
lustre/obdecho/echo_client.c
lustre/obdfilter/filter.c
lustre/obdfilter/filter_internal.h
lustre/obdfilter/filter_io.c
lustre/tests/obdfilter-survey.sh