Details
-
Bug
-
Resolution: Fixed
-
Major
-
Lustre 2.10.1
-
3
-
9223372036854775807
Description
In mdd_changelog_data_store_by_fid(), the record length calculated to allocate mti_big_buf is not correct, because it forgets to take the header size of struct llog_changelog_rec into account.
I guess it never generated memory corruptions before, because the buffer size allocated in a previous call to mdd_declare_changelog_store() was covering the need.
But now that LU-9727 adds more information in changelog records, I am able to provoke memory corruptions.
I will submit a patch to fix this problem.
Sebastien.