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

statfs isn't work properly with MDT statfs proxy

Details

    • Bug
    • Resolution: Fixed
    • Blocker
    • Lustre 2.14.0, Lustre 2.12.5
    • Lustre 2.12.0, Lustre 2.12.5
    • None
    • 3
    • 9223372036854775807

    Description

      statfs don't work fine sometimes. It's easy replicate with start a several processes on same time which ask about block size.

      all instances run on same node.

      % aprun -n 8 ./a.out /lus/snx11242
      statfs (/lus/snx11242) f_bsize 0X9003B000
      statfs (/lus/snx11242) f_bsize 0X8C19F000
      statfs (/lus/snx11242) f_bsize 0X82BFD000
      statfs (/lus/snx11242) f_bsize 0X85C31000
      statfs (/lus/snx11242) f_bsize 0X8BED2000
      statfs (/lus/snx11242) f_bsize 0X835B1000
      statfs (/lus/snx11242) f_bsize 0X828E3000
      statfs (/lus/snx11242) f_bsize 0X1000
      

      log for failed application.

      00000080:00200000:0.0:1582645192.532388:0:16422:0:(llite_lib.c:1890:ll_statfs()) VFS Op: at 4296762105 jiffies
      00000080:00000001:0.0:1582645192.532391:0:16422:0:(llite_lib.c:1838:ll_statfs_internal()) Process entered
      00000080:00000001:0.0:1582645192.532392:0:16422:0:(obd_class.h:1051:obd_statfs()) Process entered
      00000080:00000004:0.0:1582645192.532394:0:16422:0:(obd_class.h:1063:obd_statfs()) snx11242-clilmv-ffff881f8b680000: age 7262, max_age 7478
      00000080:00000004:0.0:1582645192.535406:0:16422:0:(obd_class.h:1083:obd_statfs()) snx11242-clilmv-ffff881f8b680000: new ffff881f9cad8228 cache blocks 3366320026/3419988114 objects 630715697
      0/6372092768
      00000080:00000001:0.0:1582645192.535408:0:16422:0:(obd_class.h:1103:obd_statfs()) Process leaving (rc=0 : 0 : 0)
      00000080:00000004:0.0:1582645192.535409:0:16422:0:(llite_lib.c:1848:ll_statfs_internal()) MDC blocks 18446744071580744875/18446744071582034486 objects 0/1
      00000080:00000001:0.0:1582645192.535410:0:16422:0:(llite_lib.c:1851:ll_statfs_internal()) Process leaving via out (rc=0 : 0 : 0x0)
      00000080:00000001:0.0:1582645192.535411:0:16422:0:(llite_lib.c:1881:ll_statfs_internal()) Process leaving (rc=0 : 0 : 0)
      

      regression introduced by

      commit b500d5193360711a6c6b07497f34e61cc590cf19
      Author: Alex Zhuravlev <bzzz@whamcloud.com>
      Date:   Thu Sep 21 18:24:18 2017 +0300
      
          LU-10018 protocol: MDT as a statfs proxy
      
      

      Attachments

        Issue Links

          Activity

            [LU-13296] statfs isn't work properly with MDT statfs proxy
            adilger Andreas Dilger made changes -
            Link New: This issue is duplicated by LU-15361 [ LU-15361 ]
            adilger Andreas Dilger made changes -
            Link New: This issue is related to SAS-38 [ SAS-38 ]
            adilger Andreas Dilger made changes -
            Link New: This issue is related to LU-12368 [ LU-12368 ]
            adilger Andreas Dilger made changes -
            Link New: This issue is related to LU-13285 [ LU-13285 ]
            pjones Peter Jones made changes -
            Link Original: This issue is related to JFC-17 [ JFC-17 ]
            pjones Peter Jones made changes -
            Link New: This issue is related to JFC-20 [ JFC-20 ]
            pjones Peter Jones made changes -
            Labels Original: LTS12
            pjones Peter Jones made changes -
            Fix Version/s New: Lustre 2.12.5 [ 14696 ]

            Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/37819/
            Subject: LU-13296 obd: make statfs cache working again
            Project: fs/lustre-release
            Branch: b2_12
            Current Patch Set:
            Commit: 6db1fd1cfc67c639c4817ae00cfe4198882d8e9c

            gerrit Gerrit Updater added a comment - Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/37819/ Subject: LU-13296 obd: make statfs cache working again Project: fs/lustre-release Branch: b2_12 Current Patch Set: Commit: 6db1fd1cfc67c639c4817ae00cfe4198882d8e9c
            pjones Peter Jones made changes -
            Link New: This issue is related to JFC-17 [ JFC-17 ]

            People

              shadow Alexey Lyashkov
              shadow Alexey Lyashkov
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: