[LU-7502] add lfs find --mdt-count and --mdt-hash options Created: 01/Dec/15 Updated: 25/Nov/21 Resolved: 19/Apr/17 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.8.0 |
| Fix Version/s: | Lustre 2.10.0 |
| Type: | Improvement | Priority: | Minor |
| Reporter: | Andreas Dilger | Assignee: | Yang Sheng |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | dne3 | ||
| Issue Links: |
|
||||||||||||||||||||
| Rank (Obsolete): | 9223372036854775807 | ||||||||||||||||||||
| Description |
|
There should be options for lfs find and lfs getstripe to use --mdt-count and --mdt-hash options for lfs find and lfs getstripe to return the striped directory stripe count and directory hash function respectively. There isn't a good short option for --mdt-count, since -M is already used for mtime. While --mdt-hash could use -H, it isn't clear that this is an option that will be used enough to justify having a short option. |
| Comments |
| Comment by Andreas Dilger [ 19/Sep/16 ] |
|
The patch http://review.whamcloud.com/22581 " |
| Comment by Yang Sheng [ 20/Sep/16 ] |
|
Hi, Andreas, I want to combine this change to http://review.whamcloud.com/22581. Do you agree? Thanks, |
| Comment by Andreas Dilger [ 20/Sep/16 ] |
|
This one is not just adding new option names, it also needs to add functionality to lfs find to check for these cases. It makes sense to keep this as a separate patch that will probably land for 2.10, while 22581 can probably still land for 2.9 if it is refreshed quickly. |
| Comment by Andreas Dilger [ 14/Feb/17 ] |
|
Yang Sheng, any chance you could work on a patch for this? I don't think it will take very long. |
| Comment by Gerrit Updater [ 17/Feb/17 ] |
|
Yang Sheng (yang.sheng@intel.com) uploaded a new patch: https://review.whamcloud.com/25515 |
| Comment by Gerrit Updater [ 19/Apr/17 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/25515/ |
| Comment by Peter Jones [ 19/Apr/17 ] |
|
Landed for 2.10 |