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

interop: master/2.15/2.14/2.12 sanity test_56x: migrate failed rc = 22

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Critical
    • None
    • Lustre 2.16.0
    • None
    • 3
    • 9223372036854775807

    Description

      This issue was created by maloo for Andreas Dilger <adilger@whamcloud.com>

      This issue relates to the following test suite run:
      https://testing.whamcloud.com/test_sets/a8aa2796-5d0c-4650-a096-0e09a2c7a98e

      test_56x started failing on 2023-11-18 with the following error:

      migrate failed rc = 22
      

      Test session details:
      clients: https://build.whamcloud.com/job/lustre-master/4489 - 5.14.0-284.30.1.el9_2.x86_64
      servers: https://build.whamcloud.com/job/lustre-b2_12/164 - 3.10.0-1160.49.1.el7_lustre.x86_64

      Patch https://review.whamcloud.com/51126 "LU-13805 llite: Implement unaligned DIO connect flag" was landed on 2023-11-18 without any actual interop testing.

      I now see pretty regular sanity test_56x failures with "-22 = -EINVAL" being returned from "lfs migrate" during interop testing and it looks from the debug log that this patch is the culprit, even though the servers are running ldiskfs:

       rw26.c:517:ll_direct_IO_impl()) VFS Op:inode=[0x2000013a3:0x31a:0x0](ffff9db7850f5a90), size=2868 (max 603979776),
              offset=0=0, pages 1 (max 147456), locked, parallel, unaligned
       rw26.c:547:ll_direct_IO_impl()) Process leaving (rc=18446744073709551594 : -22 : ffffffffffffffea)
       cl_io_start()) Process leaving (rc=18446744073709551594 : -22 : ffffffffffffffea)
       cl_io_loop()) Process leaving (rc=18446744073709551594 : -22 : ffffffffffffffea)
       ll_file_io_generic()) file1: 1 io complete with rc: -22, result: 0, restart: 0
       ll_file_io_generic()) Process leaving (rc=18446744073709551594 : -22 : ffffffffffffffea)
       ll_file_read_iter()) Process leaving (rc=18446744073709551594 : -22 : ffffffffffffffea)
      
       543         /* this means we encountered an old server which can't safely support
       544          * unaligned DIO, so we have to disable it
       545          */
       546         if (unaligned && !cl_io_top(io)->ci_allow_unaligned_dio)
       547                 RETURN(-EINVAL);
      

      VVVVVVV DO NOT REMOVE LINES BELOW, Added by Maloo for auto-association VVVVVVV
      sanity test_56x - migrate failed rc = 22

      Attachments

        Issue Links

          Activity

            People

              stancheff Shaun Tancheff
              maloo Maloo
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: