[LU-10705] add "blocks" support to "lfs find" Created: 23/Feb/18  Updated: 08/Mar/18  Resolved: 08/Mar/18

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: Lustre 2.11.0

Type: Improvement Priority: Minor
Reporter: Andreas Dilger Assignee: Andreas Dilger
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Related
is related to LU-9537 implement "lfs getstripe --fid" for d... Resolved
Rank (Obsolete): 9223372036854775807

 Description   

Add support for "lfs find --blocks|-B <blocks>" to be able to find files with the specified number of allocated blocks (in kilobytes or other specified units). This is distinct from "--size <size>" since that doesn't properly report the space used for sparse files.



 Comments   
Comment by Gerrit Updater [ 23/Feb/18 ]

Andreas Dilger (andreas.dilger@intel.com) uploaded a new patch: https://review.whamcloud.com/31393
Subject: LU-10705 utils: add "lfs find --blocks"
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 567d11be28f636a99dcaa69de85a66aede29109c

Comment by Gerrit Updater [ 08/Mar/18 ]

Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/31393/
Subject: LU-10705 utils: add "lfs find --blocks"
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: c043f460253684b69d1afec5f4976dc9a5f5838b

Comment by Peter Jones [ 08/Mar/18 ]

Landed for 2.11

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