From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Sun, 2 Mar 2003 04:20:12 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Sun, 2 Mar 2003 04:20:12 -0500 Received: from [195.128.145.236] ([195.128.145.236]:64128 "EHLO hippo.ru") by vger.kernel.org with ESMTP id ; Sun, 2 Mar 2003 04:20:12 -0500 Date: Sun, 2 Mar 2003 14:56:34 +0400 From: Vlad Harchev To: linux-kernel@vger.kernel.org Subject: 2.4 and cryptofs on raid1 - what will be cached and how many times Message-ID: <20030302105634.GA4258@h> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Hello, Could you please answer the following question: Suppose we have a crypto filesystem on a raid1 array of 2 devices. What will the kernel cache of fileystem data contain - encrypted data or not? Will is be 2 copies of the same data in the cache or not? Is there any way to force kernel to cache the same file data only once, and keep it unencrypted (in cache)? Thanks in advance. -- Best regards, -Vlad