[PATCH 1/1] Unionfs: cache-coherency - dentries

2007-09-06 Thread Josef 'Jeff' Sipek
From: Erez Zadok <[EMAIL PROTECTED]> Utility functions to check if lower dentries/inodes are newer than upper ones, and purging cached data if lower objects are newer. Also passed flag to our d_revalidate_chain, to tell it if the caller may be writing data or just reading it. [jsipek: changed

Re: [PATCH 1/1] Unionfs: cache-coherency - dentries

2007-09-06 Thread Josef 'Jeff' Sipek
On Mon, Sep 03, 2007 at 07:39:48PM -0400, Josef 'Jeff' Sipek wrote: ... > /* > + * Determine if the lower inode objects have changed from below the unionfs > + * inode. Return 1 if changed, 0 otherwise. > + */ > +bool is_newer_lower(const struct dentry *dentry) > +{ > + int bindex; > +

Re: [PATCH 1/1] Unionfs: cache-coherency - dentries

2007-09-06 Thread Josef 'Jeff' Sipek
On Mon, Sep 03, 2007 at 07:39:48PM -0400, Josef 'Jeff' Sipek wrote: ... /* + * Determine if the lower inode objects have changed from below the unionfs + * inode. Return 1 if changed, 0 otherwise. + */ +bool is_newer_lower(const struct dentry *dentry) +{ + int bindex; + struct

[PATCH 1/1] Unionfs: cache-coherency - dentries

2007-09-06 Thread Josef 'Jeff' Sipek
From: Erez Zadok [EMAIL PROTECTED] Utility functions to check if lower dentries/inodes are newer than upper ones, and purging cached data if lower objects are newer. Also passed flag to our d_revalidate_chain, to tell it if the caller may be writing data or just reading it. [jsipek: changed

[PATCH 1/1] Unionfs: cache-coherency - dentries

2007-09-03 Thread Josef 'Jeff' Sipek
From: Erez Zadok <[EMAIL PROTECTED]> Utility functions to check if lower dentries/inodes are newer than upper ones, and purging cached data if lower objects are newer. Also passed flag to our d_revalidate_chain, to tell it if the caller may be writing data or just reading it. [jsipek: changed

[PATCH 1/1] Unionfs: cache-coherency - dentries

2007-09-03 Thread Josef 'Jeff' Sipek
From: Erez Zadok [EMAIL PROTECTED] Utility functions to check if lower dentries/inodes are newer than upper ones, and purging cached data if lower objects are newer. Also passed flag to our d_revalidate_chain, to tell it if the caller may be writing data or just reading it. [jsipek: changed