[LU-16618] rmfid miscellaneous fixes Created: 05/Mar/23  Updated: 23/Mar/23

Status: Open
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Arshad Hussain Assignee: Arshad Hussain
Resolution: Unresolved Votes: 0
Labels: None

Issue Links:
Related
is related to LU-16427 'lfs rmfid' does not print anything o... Resolved
Severity: 3
Rank (Obsolete): 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>

 



 Comments   
Comment by Gerrit Updater [ 05/Mar/23 ]

"Arshad Hussain <arshad.hussain@aeoncomputing.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/50209
Subject: LU-16618 lfs: rmfid miscellaneous fixes
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: be70b9c490b2ff2e5bcc970e48e66e64019d831f

Comment by Gerrit Updater [ 22/Mar/23 ]

"Arshad Hussain <arshad.hussain@aeoncomputing.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/50367
Subject: LU-16618 lfs: rmfid miscellaneous fixes
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 7026cf2566d0e29776018033aad164775fd63a18

Generated at Sat Feb 10 03:28:33 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.