Re: How to identify a 'fresh' page from read_cache_page?

2014-02-09 Thread Pranay Srivastava
On 1/24/14, Zameer Manji wrote: > Hey, > > My colleague Will and I are working on improving eCryptfs, an encrypted > file system that ships with linux. We are trying to add a new cipher mode > and we have run into a problem [1]. When the user calls `ftruncate` on a > file and increases the file si

How to identify a 'fresh' page from read_cache_page?

2014-02-09 Thread Zameer Manji
Hey, My colleague Will and I are working on improving eCryptfs, an encrypted file system that ships with linux. We are trying to add a new cipher mode and we have run into a problem [1]. When the user calls `ftruncate` on a file and increases the file size, eCryptfs attempts fetch new pages for th

Re: How to identify a 'fresh' page from read_cache_page?

2014-01-27 Thread Pranay Srivastava
On Jan 28, 2014 7:57 AM, "Zameer Manji" wrote: > > Hey, > > My colleague Will and I are working on improving eCryptfs, an encrypted file system that ships with linux. We are trying to add a new cipher mode and we have run into a problem [1]. When the user calls `ftruncate` on a file and increases

How to identify a 'fresh' page from read_cache_page?

2014-01-27 Thread Zameer Manji
Hey, My colleague Will and I are working on improving eCryptfs, an encrypted file system that ships with linux. We are trying to add a new cipher mode and we have run into a problem [1]. When the user calls `ftruncate` on a file and increases the file size, eCryptfs attempts fetch new pages for th