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

lod_get_default_lov_striping() may crash for uninitialized .llc_pool

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.15.0
    • None
    • None
    • 3
    • 9223372036854775807

    Description

      MDS crashed with following call trace.

      [7329320.534103] BUG: unable to handle kernel paging request at ffffffff00000000
      [7329320.536059] IP: [<ffffffff9e38bc30>] strlen+0x0/0x30
      [7329320.539170] Oops: 0000 [#1] SMP
      [7329320.562981] CPU: 17 PID: 26305 Comm: mdt08_003 3.10.0-1062.18.1.el7_lustre.ddn4.x86_64 #1
      [7329320.568909] task: ffff8b18afa51070 ti: ffff8b185ec8c000 task.ti: ffff8b185ec8c000
      [7329320.570845] RIP: 0010:[<ffffffff9e38bc30>] [<ffffffff9e38bc30>] strlen+0x0/0x30
      [7329320.594786] Call Trace:
      [7329320.601593] [<ffffffffc17a99d6>] lod_ah_init+0x326/0x1010 [lod]
      [7329320.603380] [<ffffffffc182f118>] mdd_object_make_hint+0x1c8/0x2c0 [mdd]
      [7329320.607001] [<ffffffffc1818ea0>] mdd_create+0x790/0x14a0 [mdd]
      [7329320.608632] [<ffffffffc16a5bad>] mdt_create+0xc6d/0x1300 [mdt]
      [7329320.612190] [<ffffffffc16a63ab>] mdt_reint_create+0x16b/0x360 [mdt]
      [7329320.613825] [<ffffffffc16a90c3>] mdt_reint_rec+0x83/0x210 [mdt]
      [7329320.615513] [<ffffffffc1685303>] mdt_reint_internal+0x6e3/0xaf0 [mdt]
      [7329320.617373] [<ffffffffc1691007>] mdt_reint+0x67/0x140 [mdt]
      [7329320.619028] [<ffffffffc100fe0a>] tgt_request_handle+0xada/0x1570 [ptlrpc]
      [7329320.624423] [<ffffffffc0fb27cb>] ptlrpc_server_handle_request+0x24b/0xab0 [ptlrpc]
      [7329320.629393] [<ffffffffc0fb6134>] ptlrpc_main+0xb34/0x1470 [ptlrpc]
      [7329320.634284] [<ffffffff9e0c6321>] kthread+0xd1/0xe0
      

      Attachments

        Issue Links

          Activity

            [LU-14448] lod_get_default_lov_striping() may crash for uninitialized .llc_pool
            pjones Peter Jones added a comment -

            Landed for 2.15

            pjones Peter Jones added a comment - Landed for 2.15

            "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/45370/
            Subject: LU-14448 lod: verify LOV early in lod_get_default_striping
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: eba1b49172259ece89ab604a2ed2285e4770baa2

            gerrit Gerrit Updater added a comment - "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/45370/ Subject: LU-14448 lod: verify LOV early in lod_get_default_striping Project: fs/lustre-release Branch: master Current Patch Set: Commit: eba1b49172259ece89ab604a2ed2285e4770baa2

            "Lai Siyao <lai.siyao@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/45370
            Subject: LU-14448 lod: verify LOV early in lod_get_default_striping
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: c8b387f3c71ad9f2c1408679aef3abf9cf884517

            gerrit Gerrit Updater added a comment - "Lai Siyao <lai.siyao@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/45370 Subject: LU-14448 lod: verify LOV early in lod_get_default_striping Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: c8b387f3c71ad9f2c1408679aef3abf9cf884517
            pjones Peter Jones added a comment -

            Landed for 2.15

            pjones Peter Jones added a comment - Landed for 2.15

            "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/45039/
            Subject: LU-14448 lod: verify LOV before set/inherit
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: 6a08df2d0effc7aa9d2a4428ff38c3b5df73d118

            gerrit Gerrit Updater added a comment - "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/45039/ Subject: LU-14448 lod: verify LOV before set/inherit Project: fs/lustre-release Branch: master Current Patch Set: Commit: 6a08df2d0effc7aa9d2a4428ff38c3b5df73d118
            pjones Peter Jones added a comment - https://review.whamcloud.com/#/c/45039/

            People

              laisiyao Lai Siyao
              laisiyao Lai Siyao
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: