-
Yury Umanets authored
- changed mds_alloc_inode_sid() to allocate lustre_id in memory if there is no passed one. This makes mds stuff do not use lustre_id allocated on stack if there is only need to allocate inode sid without using it later. This makes stack consumption smaller by 40 bytes in each such a case. - in mds_setup() whrn comparing strings passed from userspace use strncmp() - root lustre_id should be set up also in cases when there is no profile. - making do not use lustre_id allocated on stack in places where it is possible. - moving mds_finish_transno() calling to place where dput() for dchild is already called to make sure, that unlink op got to current transaction. - lots of changes in lconf. MDSDEV stuff is changed substantionaly. Removing bugs prone code, replacing it by new one about setting up MDS, LMV, etc. Added more verbose messages about MDS, LMV configuration. Removed redundant stuff about forming mount options. It now is moved to function and be used from few places. - fixes in CMOBD and COBD objects about using LMV. - fixed double client_ref adding to LMV, what led to double client config writing on MDS setup.
Yury Umanets authored- changed mds_alloc_inode_sid() to allocate lustre_id in memory if there is no passed one. This makes mds stuff do not use lustre_id allocated on stack if there is only need to allocate inode sid without using it later. This makes stack consumption smaller by 40 bytes in each such a case. - in mds_setup() whrn comparing strings passed from userspace use strncmp() - root lustre_id should be set up also in cases when there is no profile. - making do not use lustre_id allocated on stack in places where it is possible. - moving mds_finish_transno() calling to place where dput() for dchild is already called to make sure, that unlink op got to current transaction. - lots of changes in lconf. MDSDEV stuff is changed substantionaly. Removing bugs prone code, replacing it by new one about setting up MDS, LMV, etc. Added more verbose messages about MDS, LMV configuration. Removed redundant stuff about forming mount options. It now is moved to function and be used from few places. - fixes in CMOBD and COBD objects about using LMV. - fixed double client_ref adding to LMV, what led to double client config writing on MDS setup.