[LU-9309] Add ldiskfs 64-bit inode number support Created: 10/Apr/17 Updated: 01/May/23 |
|
| Status: | Open |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | New Feature | Priority: | Major |
| Reporter: | Artem Blagodarenko (Inactive) | Assignee: | WC Triage |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||||||
| Rank (Obsolete): | 9223372036854775807 | ||||||||||||
| Description |
|
With current hardware clusters faced with the trouble of creating enough inodes on LDISKFS partitions. MDS has 0-size files to store some information about Lustre FS files. Current MDS disk sizes allow to store large amount of such files, but EXT4 limits this number to ~4 billions. This topic ("64-bit inode number") recently was discussed in ext4 list. The resume is: There are two possible solutions: Andreas Dilger gave strong reasons to use 1st solution:
This issue is about using dirdata to store high bits of 64bit inode number. |
| Comments |
| Comment by Andreas Dilger [ 10/Apr/17 ] |
|
Note that I'm not against adding such a feature to ext4/ldiskfs, but it is worthwhile to consider potential issues as well, compared to distributing the filesystem metadata across multiple MDTs with DNE:
I agree that the current DNE implementation does not scale metadata load automatically across MDTs/MDS nodes effectively, though this will be improved with DNE2 and striped directories. My thought for enabling DNE to be more "automatic" in its load balancing is to allow automatic directory restriping when a directory grows larger than some number of entries (e.g. 16k), so that users can have the benefit of DNE without having to manually create striped directories. If you choose to move forward with MDTs with more than 4B inodes, I'd also encourage you to look at making e2fsck multi-threaded and/or event driven so that it can use multiple CPUs and spindles/SSDs effectively, otherwise the check time may become so long that this is not a practical solution even if the on-disk format supports more than 4B inodes. |
| Comment by Gerrit Updater [ 25/Sep/17 ] |
|
Artem Blagodarenko (artem.blagodarenko@seagate.com) uploaded a new patch: https://review.whamcloud.com/29195 |
| Comment by Gerrit Updater [ 25/Sep/17 ] |
|
Artem Blagodarenko (artem.blagodarenko@seagate.com) uploaded a new patch: https://review.whamcloud.com/29196 |
| Comment by Gerrit Updater [ 25/Sep/17 ] |
|
Artem Blagodarenko (artem.blagodarenko@seagate.com) uploaded a new patch: https://review.whamcloud.com/29197 |
| Comment by Gerrit Updater [ 25/Sep/17 ] |
|
Artem Blagodarenko (artem.blagodarenko@seagate.com) uploaded a new patch: https://review.whamcloud.com/29198 |
| Comment by Gerrit Updater [ 25/Sep/17 ] |
|
Artem Blagodarenko (artem.blagodarenko@seagate.com) uploaded a new patch: https://review.whamcloud.com/29199 |
| Comment by Gerrit Updater [ 25/Sep/17 ] |
|
Artem Blagodarenko (artem.blagodarenko@seagate.com) uploaded a new patch: https://review.whamcloud.com/29200 |
| Comment by Andreas Dilger [ 11/Jun/20 ] |
|
Link to changes improving DNE usage distribution. More work is still needed to get DNE balance as good as OST space balance. |