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

rmfid miscellaneous fixes

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Minor
    • None
    • None
    • None
    • 3
    • 9223372036854775807

    Description

       01. Fix rmfid silently accepting fid without fsname
              or lustre root mount point.      
         

      $ lfs rmfid 0x200000402:0x1:0x0
      $
      

          
       02. Fix rmfid unable to handle fsname. Would only
              work with lustre root mount point.

      $ lfs rmfid lustre [0x200000402:0x2:0x0]
      lfs rmfid: cannot remove FIDs: Inappropriate ioctl for device

          

       03. Fix rmfid memory leak
       

          $ valgrind --leak-check=full lfs rmfid lustre 0x200000402:0x1:0x0
      <snip>
          ==30812== LEAK SUMMARY:
          ==30812==    definitely lost: 48 bytes in 1 blocks
          ==30812==    indirectly lost: 0 bytes in 0 blocks
          ==30812==      possibly lost: 0 bytes in 0 blocks
          ==30812==    still reachable: 0 bytes in 0 blocks
          ==30812==         suppressed: 0 bytes in 0 blocks
      <snip>
      

       

      Attachments

        Issue Links

          Activity

            People

              arshad512 Arshad Hussain
              arshad512 Arshad Hussain
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: