Re: [Ecryptfs-devel] [PATCH 3/11] eCryptfs: read_write.c routines

2007-09-19 Thread Andrew Morton
On Mon, 17 Sep 2007 16:46:32 -0500 Michael Halcrow <[EMAIL PROTECTED]> wrote: > +/** > + * ecryptfs_write_lower > + * @ecryptfs_inode: The eCryptfs inode > + * @data: Data to write > + * @offset: Byte offset in the lower file to which to write the data > + * @size: Number of bytes from @data to wr

Re: [Ecryptfs-devel] [PATCH 3/11] eCryptfs: read_write.c routines

2007-09-19 Thread Andrew Morton
On Mon, 17 Sep 2007 16:46:32 -0500 Michael Halcrow <[EMAIL PROTECTED]> wrote: > Add a set of functions through which all I/O to lower files is > consolidated. This patch adds a new inode_info reference to a > persistent lower file for each eCryptfs inode; another patch later in > this series will

Re: [Ecryptfs-devel] [PATCH 4/11] eCryptfs: Replace encrypt, decrypt, and inode size write

2007-09-19 Thread Andrew Morton
On Mon, 17 Sep 2007 16:47:10 -0500 Michael Halcrow <[EMAIL PROTECTED]> wrote: > Replace page encryption and decryption routines and inode size write > routine with versions that utilize the read_write.c functions. > > Signed-off-by: Michael Halcrow <[EMAIL PROTECTED]> > --- > fs/ecryptfs/crypto.

Re: [Ecryptfs-devel] [PATCH 6/11] eCryptfs: Update metadata read/write functions

2007-09-19 Thread Andrew Morton
On Mon, 17 Sep 2007 16:48:44 -0500 Michael Halcrow <[EMAIL PROTECTED]> wrote: > + if ((rc = ecryptfs_write_lower(ecryptfs_dentry->d_inode, checkpatch missed the assignment-in-an-if here. - This SF.net email is sp

Re: [Ecryptfs-devel] [PATCH 8/11] eCryptfs: Convert mmap functions to use persistent file

2007-09-19 Thread Andrew Morton
On Mon, 17 Sep 2007 16:50:16 -0500 Michael Halcrow <[EMAIL PROTECTED]> wrote: > Convert readpage, prepare_write, and commit_write to use read_write.c > routines. Remove sync_page; I cannot think of a good reason for > implementing that in eCryptfs. > > Signed-off-by: Michael Halcrow <[EMAIL PROTE

Re: [Ecryptfs-devel] [PATCH 3/11] eCryptfs: read_write.c routines

2007-09-21 Thread Andrew Morton
On Fri, 21 Sep 2007 16:51:25 -0500 Michael Halcrow <[EMAIL PROTECTED]> wrote: > On Wed, Sep 19, 2007 at 10:38:50PM -0700, Andrew Morton wrote: > > > + virt = kmap(page_for_lower); > > > + rc = ecryptfs_write_lower(ecryptfs_inode, virt, offset, size); > > > + ku

Re: [Ecryptfs-devel] [PATCH 3/3] eCryptfs: Set inode key only once per crypto operation

2007-11-02 Thread Andrew Morton
On Fri, 2 Nov 2007 13:53:08 -0500 Michael Halcrow <[EMAIL PROTECTED]> wrote: > There is no need to keep re-setting the same key for any given > eCryptfs inode. This patch optimizes the use of the crypto API and > helps performance a bit. > > Signed-off-by: Trevor Highland <[EMAIL PROTECTED]> > Si

Re: [Ecryptfs-devel] [PATCH] eCryptfs: Change the type of cipher_code from u16 to u8

2007-12-19 Thread Andrew Morton
On Tue, 18 Dec 2007 20:44:42 -0600 Trevor Highland <[EMAIL PROTECTED]> wrote: > Change the type of cipher_code from u16 to u8. I sure hope that Michael knows what's going on here, because these changelogs aren't very useful. They tell us *what* the patch does (which was pretty obvious anyway) bu

Re: [Ecryptfs-devel] [PATCH] eCryptfs: Load each file decryption key only once

2008-01-08 Thread Andrew Morton
On Tue, 8 Jan 2008 15:17:33 -0600 Michael Halcrow <[EMAIL PROTECTED]> wrote: > On Fri, Dec 21, 2007 at 08:05:30PM -0600, Trevor Highland wrote: > > eCryptfs: Load each file decryption key only once > > > > There is no need to keep re-setting the same key for any given > > eCryptfs inode. This pat

Re: [Ecryptfs-devel] [PATCH 1/2] eCryptfs: Introduce device handle for userspace daemon communications

2008-04-15 Thread Andrew Morton
On Tue, 15 Apr 2008 15:23:13 -0500 Michael Halcrow <[EMAIL PROTECTED]> wrote: > Functions to facilitate reading and writing to the eCryptfs > miscellaneous device handle. This will replace the netlink interface > as the preferred mechanism for communicating with the userspace > eCryptfs daemon. >

Re: [Ecryptfs-devel] [PATCH 2/2] eCryptfs: Introduce device handle for userspace daemon communications

2008-04-15 Thread Andrew Morton
On Tue, 15 Apr 2008 15:24:38 -0500 Michael Halcrow <[EMAIL PROTECTED]> wrote: > Subject: [PATCH 2/2] eCryptfs: Introduce device handle for userspace daemon > communications This patch has the same title as [1/2]. I renamed it to "eCryptfs: integrate eCryptfs device handle into the module." ---