Skip to content

Add support for birthtime #8508

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed

Add support for birthtime #8508

wants to merge 1 commit into from

Conversation

ryao
Copy link
Contributor

@ryao ryao commented Mar 17, 2019

@rlaager and others wanted btime support, so I threw this together. I am relying on the buildbot and those who want it to do testing. At present, you can do zdb -dddd $DATASET $OBJSETID to view this information. With this, we should in theory be able to view it on Linux 4.11 or later, with glibc 2.28 or later and the latest coreutils as of two weeks ago from what I am told. This has yet to be verified, so I will rely on those who want it to test that.

ZFS has had support for file birth times since the beginning and calls
it crtime internally. Linux originally only supported birth time via an
ext4 specific hack, but since Linux 4.11, the statx syscall has
supported it, so we are free to expose it.

Signed-off-by: Richard Yao <[email protected]>
Closes openzfs#8507
@ryao ryao mentioned this pull request Mar 17, 2019
12 tasks
@ryao
Copy link
Contributor Author

ryao commented Mar 17, 2019

This has been superseded by #8509.

@ryao ryao closed this Mar 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant