1 From: David Howells <dhowells-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2 Subject: Re: [RFC][PATCH 06/10] cifs: define inode-level cache object and register them
3 Date: Sat, 26 Jun 2010 00:04:28 +0100
4 Organization: Red Hat UK Ltd. Registered Address: Red Hat UK Ltd, Amberley
5 Place, 107-111 Peascod Street, Windsor, Berkshire, SI4 1TE, United
7 Registered in England and Wales under Company Registration No. 3798903
9 Message-ID: <20123.1277507068@redhat.com>
10 References: <20100625182651.36800d06@tlielax.poochiereds.net> <20100625125306.7f9b1966@tlielax.poochiereds.net> <4C24A606.5040001@suse.de> <1277220214-3597-1-git-send-email-sjayaraman@suse.de> <yes> <9822.1277312573@redhat.com> <22697.1277470549@redhat.com> <18628.1277502398@redhat.com>
11 Cc: dhowells-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org, Suresh Jayaraman <sjayaraman-l3A5Bk7waGM@public.gmane.org>,
12 Steve French <smfrench-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>, linux-cifs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
13 linux-fsdevel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
14 samba-technical-w/Ol4Ecudpl8XjKLYN78aQ@public.gmane.org
15 To: Jeff Layton <jlayton-eUNUBHrolfbYtjvyW6yDsg@public.gmane.org>
16 X-From: linux-cifs-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org Sat Jun 26 01:04:45 2010
17 Return-path: <linux-cifs-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
18 Envelope-to: glkc-linux-cifs-1dZseelyfdZg9hUCZPvPmw@public.gmane.org
19 Received: from vger.kernel.org ([209.132.180.67])
20 by lo.gmane.org with esmtp (Exim 4.69)
21 (envelope-from <linux-cifs-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>)
23 for glkc-linux-cifs-1dZseelyfdZg9hUCZPvPmw@public.gmane.org; Sat, 26 Jun 2010 01:04:43 +0200
24 Received: (majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org) by vger.kernel.org via listexpand
25 id S1751807Ab0FYXEl (ORCPT <rfc822;glkc-linux-cifs@m.gmane.org>);
26 Fri, 25 Jun 2010 19:04:41 -0400
27 Received: from mx1.redhat.com ([209.132.183.28]:62977 "EHLO mx1.redhat.com"
28 rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP
29 id S1752149Ab0FYXEl (ORCPT <rfc822;linux-cifs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>);
30 Fri, 25 Jun 2010 19:04:41 -0400
31 Received: from int-mx04.intmail.prod.int.phx2.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.17])
32 by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o5PN4X40004498
33 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK);
34 Fri, 25 Jun 2010 19:04:34 -0400
35 Received: from redhat.com (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1])
36 by int-mx04.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o5PN4Sld008220;
37 Fri, 25 Jun 2010 19:04:30 -0400
38 In-Reply-To: <20100625182651.36800d06-9yPaYZwiELC+kQycOl6kW4xkIHaj4LzF@public.gmane.org>
39 X-Scanned-By: MIMEDefang 2.67 on 10.5.11.17
40 Sender: linux-cifs-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
42 List-ID: <linux-cifs.vger.kernel.org>
43 X-Mailing-List: linux-cifs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
44 Archived-At: <http://permalink.gmane.org/gmane.linux.kernel/1003153>
46 Jeff Layton <jlayton-eUNUBHrolfbYtjvyW6yDsg@public.gmane.org> wrote:
48 > IIUC, updating mtime for a write is also an attribute change, and that
49 > affects ctime. According to the stat(2) manpage:
51 You're right. Okay, ctime is the more frequently changed.
53 > > Note that Ext4 appears to have a file creation time field in its inode
54 > > (struct ext4_inode::i_crtime[_extra]). Can Samba be made to use that?
56 > Is it exposed to userspace in any (standard) way? It would be handy to
57 > have that. While we're wishing...it might also be nice to have a
58 > standard way to get at the i_generation from userspace too.
60 Not at present, but it's something that could be exported by ioctl() or