Mahmoud, do you mind to discribe what would happen if the PFL setting is different from the required one in your environment/usage?
In the multiple tier storage environment, misconfiguration of PFL could indeed lead to bad performance, waste of high-speed storage media, or/and exhaustion of small-capcity tier. Any problems that are more serious problem than these? Are we thinking of preventing some thing that is really bad for global users from happening? I am not sure that is the case according to the current information.
I do agree that the default PFL striping should be carefully configured. And if the file system has the multiple tiers, even more care should be spent on the default setting. After configuring the default PFL properly, users should be able to inherit the default configuration and benefit from it. Unless something that is really bad will happen, I feel that we should provide the flexibilty of changing PFL settings to the users. It is unlikely that a user who has little knowledge of PFL and the tier structure would change the setting by themselves. And if they choose to change something that will only hurt the performance of their own applications a little bit, they should have the freedom to learn the lesson. And who knows, maybe they will figure out a even better PFL configuration for their own usage.
So, what do you think?
This was implemented for 2.16 via patch https://review.whamcloud.com/54341 "
LU-17628lfs: add lfs_setstripe admin restrict".