Lai once stated the following, which needs to be expanded upon for the manual:
A new hash type "space" is added to balance MDT space usage, once a default directory stripe is set on a plain directory, e.g.
lfs setdirstripe -D -i -1 -H space <dir1>
The subsequent syscall "mkdir" (NB, not "lfs mkdir ...") under <dir1> will choose a MDT with balanced space usage, the policy is:
- if free inodes/blocks on all MDT are almost the same, choose MDT roundrobin.
- otherwise create more subdirectories on MDTs with more free inodes/blocks.
Joseph Gmitter (jgmitter@whamcloud.com) merged in patch https://review.whamcloud.com/36615/
Subject:
LUDOC-442dne: directory creation by space/inodeProject: doc/manual
Branch: master
Current Patch Set:
Commit: ccce8bbf109d3531df7ae5b6c65af04e9b48a757