Thread (7 messages) 7 messages, 4 authors, 2012-09-30

Re: [PATCH] Btrfs: Add code to support file creation time.

From: Li Zefan <hidden>
Date: 2012-07-05 01:10:34

On 2012/7/4 19:04, Alexander Block wrote:
On Wed, Jul 4, 2012 at 9:56 AM, Li Zefan [off-list ref] wrote:
quoted
On 2012/7/4 15:18, chandan r wrote:
quoted
This patch adds a new member to the 'struct btrfs_inode' structure to hold
the file creation time.

Well, how do users use this file creation time? There's no syscall and there's
no ioctl that exports this information. That xstat syscall hasn't been accepted,
so you can revise and repost the patch when you see it happens.
In my opinion we should still include this patch. Currently, otime is never even
initialized, having undefined values. If it ever gets possible to
access otime, we
would at least have some inodes with valid otime fields.

otime (on disk) is initialized to 0, not some undefined value. But yeah, your point makes
some sense, that with this patch we can access valid otime in an old filesystem once we
update to a new kernel which has otime support.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help