[LU-11971] Send file creation time to clients Created: 14/Feb/19 Updated: 23/Sep/20 Resolved: 14/May/20 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | Lustre 2.14.0 |
| Type: | Improvement | Priority: | Minor |
| Reporter: | Andreas Dilger | Assignee: | Qian Yingjin |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | easy | ||
| Issue Links: |
|
||||||||||||||||
| Rank (Obsolete): | 9223372036854775807 | ||||||||||||||||
| Description |
|
Both ext4 and ZFS allow storing the file creation time in the on-disk inode, and the new statx() API allows returning it to userspace, but as yet we do not have any mechanism to send it from the servers to the client. Add fields into struct mdt_body and an OBD_MD_FLCRTIME flag to allow it to be requested and returned. There probably is no value to get it from the OSTs or in the LVB since those objects are precreated and their creation time is not accurate. |
| Comments |
| Comment by Andreas Dilger [ 14/Feb/19 ] |
|
Also need to add support to lfs find to query on this field. |
| Comment by Gerrit Updater [ 19/Oct/19 ] |
|
Yingjin Qian (qian@ddn.com) uploaded a new patch: https://review.whamcloud.com/36507 |
| Comment by Gerrit Updater [ 14/May/20 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/36507/ |
| Comment by Peter Jones [ 14/May/20 ] |
|
Landed for 2.14 |