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

ASSERTION( strncmp(infos[pol_idx].pi_arg, tmp.pi_arg, sizeof(tmp.pi_arg)) == 0 ) failed:

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Lustre 2.7.0
    • Fix Version/s: Lustre 2.9.0
    • Labels:
    • Environment:
      Lustre 2.7.1
    • Severity:
      3
    • Rank (Obsolete):
      9223372036854775807

      Description

      Testing setting tbf policies caused LBUG.

      <0>LustreError: 62827:0:(lproc_ptlrpc.c:547:ptlrpc_lprocfs_nrs_seq_show()) ASSERTION( strncmp(infos[pol_idx].pi_arg, tmp.pi_arg, sizeof(tmp.pi_arg)) == 0 ) failed: 
      <0>LustreError: 62827:0:(lproc_ptlrpc.c:547:ptlrpc_lprocfs_nrs_seq_show()) LBUG
      <4>Pid: 62827, comm: lctl
      <4>
      <4>Call Trace:
      <4> [<ffffffffa0492895>] libcfs_debug_dumpstack+0x55/0x80 [libcfs]
      <4> [<ffffffffa0492e97>] lbug_with_loc+0x47/0xb0 [libcfs]
      <4> [<ffffffffa083d8b4>] ptlrpc_lprocfs_nrs_seq_show+0x6c4/0x930 [ptlrpc]
      <4> [<ffffffff811ae422>] seq_read+0xf2/0x400
      <4> [<ffffffff811f4dbe>] proc_reg_read+0x7e/0xc0
      <4> [<ffffffff81188fe5>] vfs_read+0xb5/0x1a0
      <4> [<ffffffff81189121>] sys_read+0x51/0x90
      <4> [<ffffffff8100b0d2>] system_call_fastpath+0x16/0x1b
      <4>
      <0>Kernel panic - not syncing: LBUG
      <4>Pid: 62827, comm: lctl Tainted: G           ---------------  T 2.6.32-504.30.3.el6.20151008.x86_64.lustre271 #1
      <4>Call Trace:
      <4> [<ffffffff81561679>] ? panic+0xa7/0x190
      <4> [<ffffffffa0492eeb>] ? lbug_with_loc+0x9b/0xb0 [libcfs]
      <4> [<ffffffffa083d8b4>] ? ptlrpc_lprocfs_nrs_seq_show+0x6c4/0x930 [ptlrpc]
      <4> [<ffffffff811ae422>] ? seq_read+0xf2/0x400
      <4> [<ffffffff811f4dbe>] ? proc_reg_read+0x7e/0xc0
      <4> [<ffffffff81188fe5>] ? vfs_read+0xb5/0x1a0
      <4> [<ffffffff81189121>] ? sys_read+0x51/0x90
      <4> [<ffffffff8100b0d2>] ? system_call_fastpath+0x16/0x1b
      [1]kdb> 
      

      What I typed.

      nbp1-oss6 ~ # lctl get_param ldlm.services.ldlm_canceld.nrs_policies       
      ldlm.services.ldlm_canceld.nrs_policies=
      
      regular_requests:
        - name: fifo
          state: started
          fallback: yes
          queued: 0                   
          active: 0                   
      
        - name: crrn
          state: stopped
          fallback: no
          queued: 0                   
          active: 0                   
      
        - name: tbf nid
          state: stopped
          fallback: no
          queued: 0                   
          active: 0                   
      
      high_priority_requests:
        - name: fifo
          state: started
          fallback: yes
          queued: 0                   
          active: 0                   
      
        - name: crrn
          state: stopped
          fallback: no
          queued: 0                   
          active: 0                   
      
        - name: tbf nid
          state: stopped
          fallback: no
          queued: 0                   
          active: 0                   
      
      nbp1-oss6 ~ # lctl set_param ldlm.services.ldlm_canceld.nrs_policies="tbf req nid"
      ldlm.services.ldlm_canceld.nrs_policies=tbf req nid
      error: set_param: setting /proc/fs/lustre/ldlm/services/ldlm_canceld/nrs_policies=tbf req nid: Unknown error 524
      nbp1-oss6 ~ # lctl set_param ldlm.services.ldlm_canceld.nrs_policies="tbf reg nid"
      ldlm.services.ldlm_canceld.nrs_policies=tbf reg nid
      nbp1-oss6 ~ # lctl set_param ldlm.services.ldlm_canceld.nrs_policies="tbf gp nid"
      ldlm.services.ldlm_canceld.nrs_policies=tbf gp nid
      error: set_param: setting /proc/fs/lustre/ldlm/services/ldlm_canceld/nrs_policies=tbf gp nid: Unknown error 524
      nbp1-oss6 ~ # lctl set_param ldlm.services.ldlm_canceld.nrs_policies="tbf hp nid"
      ldlm.services.ldlm_canceld.nrs_policies=tbf hp nid
      nbp1-oss6 ~ # lctl get_param ldlm.services.ldlm_canceld.nrs_policies
      

        Attachments

          Activity

            People

            • Assignee:
              emoly.liu Emoly Liu
              Reporter:
              mhanafi Mahmoud Hanafi
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: