Re: [GIT PULL] eCryptfs fixes for 2.6.39-rc5

From: Paolo Bonzini
Date: Thu Oct 06 2011 - 10:37:11 EST


On 04/26/2011 02:53 AM, Tyler Hicks wrote:
> Hi Linus,
>
> The first 3 patches below fix bugs when eCryptfs is mounted on top of
> NFSv3 client mount points. The 4th patch fixes a bug that occurs when
> the eCryptfs file metadata can't be read during lookup.

Hi,

I still see occasional errors:

[33945.269075] ecryptfs_decrypt_page: Error attempting to read lower page; rc = [-4]
[33945.269084] ecryptfs_readpage: Error decrypting page; rc = [-4]

that are reported as "short read: Success" when doing a "git grep" on an
encrypted repository. Redoing the grep fixes the problems for those files
and may transfer it to others, until all of them are in the cache and the
grep succeeds.

Reproduced with 3.0.3 and 3.1-rc8.

Paolo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/