[LU-6137] Update timestamps arbitrarily on MDS Created: 20/Jan/15 Updated: 14/Jun/18 Resolved: 14/Aug/15 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.7.0 |
| Fix Version/s: | Lustre 2.8.0 |
| Type: | Bug | Priority: | Critical |
| Reporter: | Niu Yawei (Inactive) | Assignee: | Niu Yawei (Inactive) |
| Resolution: | Fixed | Votes: | 2 |
| Labels: | None | ||
| Issue Links: |
|
||||||||||||
| Severity: | 3 | ||||||||||||
| Rank (Obsolete): | 17106 | ||||||||||||
| Description |
|
There was a timestamps update policy on MDS: ctime is increasing This policy sounds not reasonable and it could lead to following 1. If time isn't synced on clients, the file created by the client 2. If the client clock is adjusted to a past time, then this client 3. Server time could be used on inode->i_ctime if the client time 4. Sometime ldiskfs API may set server time on inode->i_ctime ( |
| Comments |
| Comment by Niu Yawei (Inactive) [ 20/Jan/15 ] |
| Comment by Gerrit Updater [ 10/Feb/15 ] |
|
Niu Yawei (yawei.niu@intel.com) uploaded a new patch: http://review.whamcloud.com/13705 |
| Comment by Niu Yawei (Inactive) [ 10/Feb/15 ] |
|
The patch above is split: http://review.whamcloud.com/13705 (fix ldiskfs nocmtime only). |
| Comment by Gerrit Updater [ 03/Mar/15 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/13705/ |
| Comment by James A Simmons [ 03/Mar/15 ] |
|
Patch has landed to master. Ticket can be closed. |
| Comment by Niu Yawei (Inactive) [ 04/Mar/15 ] |
|
There are two patches tracked in this ticket, one is landed, another is still being reviewed, please keep it open. |
| Comment by Gerrit Updater [ 06/Mar/15 ] |
|
Niu Yawei (yawei.niu@intel.com) uploaded a new patch: http://review.whamcloud.com/13994 |
| Comment by Andreas Dilger [ 18/Mar/15 ] |
|
Could you please work on a conf-sanity test that changes the clocks on the MDS and OSS nodes, as described in |
| Comment by Gerrit Updater [ 20/Mar/15 ] |
|
Niu Yawei (yawei.niu@intel.com) uploaded a new patch: http://review.whamcloud.com/14122 |
| Comment by Niu Yawei (Inactive) [ 20/Mar/15 ] |
|
Add sanity test to verify that server time isn't used: http://review.whamcloud.com/14122 |
| Comment by Niu Yawei (Inactive) [ 14/Aug/15 ] |
|
The patch fixing ldiskfs is landed, which can fix customer's problem. The other two patches were abandoned. |