Details
-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
Lustre 2.6.0
-
3
-
13756
Description
obdfilter-survey test 2a (netdisk) runs something like "lctl test_brw 30 wx q 256 4t3 g". In jt_obd_test_brw() we expect an integer after the 'g':
case 'g': /* plug and unplug */ data.ioc_pbuf1 = (void *)2; data.ioc_plen1 = strtoull(argv[6] + 1, &end, 0); break;
Since there isn't one, ioc_plen1 is zero and obd_ioctl_pack() returns -EINVAL and OBD_IOC_BRW_WRITE isn't actually called.
See https://maloo.whamcloud.com/test_logs/005c2142-cd47-11e3-9ff6-52540035b04c