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

ldiskfs quota accounting iterator is flawed

    XMLWordPrintable

Details

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

    Description

      The ldiskfs quota accounting iterator is flawed, that'll result in some accounting entries being missed in the output of proc files (acct_user & acct_group).

      This can be reproduced by:

      • Create a fresh filesystem;
      • Run the following script to generate large amount of accounting entries:
        #!/bin/bash
        for i in `seq 10000`; do
                touch /mnt/lustre/file_$i
                chown $i:$i /mnt/lustre/file_$i
        done
        
      • Verify proc file by: cat /proc/fs/lustre/osd-ldiskfs/lustre-MDT0000/quota_slave/acct_user; Some entries are missed in the output.

      Attachments

        Activity

          People

            niu Niu Yawei (Inactive)
            niu Niu Yawei (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: