Re: [RFC][PATCH 05/10] cifs: define superblock-level cache index objects and register them

2010-06-28 Thread David Howells
Suresh Jayaraman sjayara...@suse.de wrote: Did you mean we need to validate differently for different servers? You may need to, yes, as different servers may make different attributes available. This isn't too bad. Each server index record in the cache has freeform auxiliary data, just as

Re: [PATCH 2/3] cifs: use CreationTime like an i_generation field

2010-06-28 Thread Jeff Layton
On Mon, 28 Jun 2010 18:56:09 +0530 Suresh Jayaraman sjayara...@suse.de wrote: On 06/28/2010 04:40 PM, Jeff Layton wrote: Reduce false inode collisions by using the CreationTime like an i_generation field. This way, even if the server ends up reusing a uniqueid after a delete/create cycle,

[PATCH] Ext4: Make file creation time, i_version and i_generation available by xattrs

2010-06-28 Thread David Howells
Make the file creation time, inode data version number and inode generation number available on Ext4 by as xattrs named: file.crtime file.i_generation file.i_version (directories only for ext4) This could then be used by Samba as the SMB protocol passes the file creation

Re: [PATCH] Ext4: Make file creation time, i_version and i_generation available by xattrs

2010-06-28 Thread Steve French
On Mon, Jun 28, 2010 at 11:48 AM, Jeremy Allison j...@samba.org wrote: On Mon, Jun 28, 2010 at 11:33:10AM -0500, Steve French wrote: It would be easy enough to do something similar for crtime for cifs (it may also be possible to do something similar to i_generation and i_version at least for