From: David Howells Subject: Re: [RFC][PATCH 05/10] cifs: define superblock-level cache index objects and register them Date: Mon, 28 Jun 2010 14:24:45 +0100 Organization: Red Hat UK Ltd. Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SI4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 3798903 Lines: 17 Message-ID: <9513.1277731485@redhat.com> References: <4C289B39.4060901@suse.de> <22746.1277470713@redhat.com> <4C24A4A0.90408@suse.de> <1277220206-3559-1-git-send-email-sjayaraman@suse.de> <9720.1277312290@redhat.com> <23204.1277472412@redhat.com> Cc: dhowells@redhat.com, Steve French , linux-cifs@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org To: Suresh Jayaraman X-From: linux-fsdevel-owner@vger.kernel.org Mon Jun 28 15:24:57 2010 Return-path: Envelope-to: lnx-linux-fsdevel@lo.gmane.org Received: from vger.kernel.org ([209.132.180.67]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OTEKW-00048k-S3 for lnx-linux-fsdevel@lo.gmane.org; Mon, 28 Jun 2010 15:24:57 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751608Ab0F1NYz (ORCPT ); Mon, 28 Jun 2010 09:24:55 -0400 Received: from mx1.redhat.com ([209.132.183.28]:26085 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751395Ab0F1NYy (ORCPT ); Mon, 28 Jun 2010 09:24:54 -0400 Received: from int-mx08.intmail.prod.int.phx2.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o5SDOmfA019811 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 28 Jun 2010 09:24:49 -0400 Received: from redhat.com (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx08.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o5SDOjHf030340; Mon, 28 Jun 2010 09:24:47 -0400 In-Reply-To: <4C289B39.4060901@suse.de> X-Scanned-By: MIMEDefang 2.67 on 10.5.11.21 Sender: linux-fsdevel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@vger.kernel.org Archived-At: Suresh Jayaraman wrote: > Did you mean we need to validate differently for different servers? You may need to, yes, as different servers may make different attributes available. This isn't too bad. Each server index record in the cache has freeform auxiliary data, just as does each file data record. You could, say, stick a byte at the front that indicates what you've stored in there. David -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html