[LU-15549] client doesn't send layout version if it's 0 Created: 11/Feb/22 Updated: 15/Feb/22 |
|
| Status: | Open |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Minor |
| Reporter: | Alex Zhuravlev | Assignee: | Alex Zhuravlev |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | flr-improvement | ||
| Severity: | 3 |
| Rank (Obsolete): | 9223372036854775807 |
| Description |
|
the client doesn't set OBD_MD_LAYOUT_VERSION if current layout version is 0
if (io->ci_layout_version > 0) {
/* verify layout version */
oa->o_valid |= OBD_MD_LAYOUT_VERSION;
then OST just skips layout version check:
/* need to verify layout version */
if (oa->o_valid & OBD_MD_LAYOUT_VERSION) {
rc = ofd_verify_layout_version(env, fo, oa);
all regular layouts are created with version 0, meaning that if client doesn't notice layout change for a reason ( |
| Comments |
| Comment by Gerrit Updater [ 15/Feb/22 ] |
|
"Alex Zhuravlev <bzzz@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/46531 |