A file should inherit the home_tier of its parent if its set. Currently the same check doesn't exist while the creation/opening of file.
The only problem could be to get the inode of the parent directory from the inode of the file being created/opened. We have the dentry of the file which is being
opened/created, so the parent dentry could be negative. We must take care about the same.
We surely need a way out of this problem.
Yogesh could you please take a look at this.....
I would like to get this fixed as early as possible. I know the problem well so keeping the BUG with me.
Without this the idea of relocation of subdirectories would be partial.