[LU-4967] obdfilter-survey 2a fails silently, doesn't do anything Created: 28/Apr/14  Updated: 28/Apr/14

Status: Open
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.6.0
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: John Hammond Assignee: WC Triage
Resolution: Unresolved Votes: 0
Labels: test

Severity: 3
Rank (Obsolete): 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


Generated at Sat Feb 10 01:47:23 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.