Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-4967

obdfilter-survey 2a fails silently, doesn't do anything

    XMLWordPrintable

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

      Attachments

        Activity

          People

            wc-triage WC Triage
            jhammond John Hammond
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: