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

MDD does not check nlink maximum limit properly, and cause LBUG in OSD layer(osd_handler.c:2805:osd_object_ref_add()) ASSERTION( inode->i_nlink <= 65000 )

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • Lustre 2.6.0
    • Lustre 2.6.0, Lustre 2.5.1
    • None
    • 3
    • 13786

    Description

      We did not check nlink properly in MDD layer
      [5/30/14, 12:32:08 PM] Andreas Dilger: # touch /mnt/testfs/foo; mkdir /mnt/testfs/d0

      1. ./createmany -l /mnt/testfs/foo /mnt/testfs/d0/f 80000
      • created 10000 (time 1401478106.75 total 17.33 last 17.33)
      • created 20000 (time 1401478117.97 total 28.54 last 11.22)
      • created 30000 (time 1401478128.66 total 39.24 last 10.70)
      • created 40000 (time 1401478139.82 total 50.40 last 11.16)
      • created 50000 (time 1401478150.49 total 61.07 last 10.67)
      • created 60000 (time 1401478161.25 total 71.83 last 10.76)

      Message from syslogd@sookie-gig at May 30 13:29:26 ...
      kernel:LustreError: 26342:0:(osd_handler.c:2805:osd_object_ref_add()) ASSERTION( inode->i_nlink <= 65000 ) failed:
      [5/30/14, 12:32:26 PM] Andreas Dilger: so we do check, just not in a robust manner...
      [5/30/14, 12:32:46 PM] wangdi: yes, we do not check it properly in MDD layer
      [5/30/14, 12:33:42 PM] wangdi: also in 2.4 and 2.5 I think

      Attachments

        Issue Links

          Activity

            People

              di.wang Di Wang
              di.wang Di Wang
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: