From: David Howells Subject: Re: [RFC][PATCH 04/10] cifs: define server-level cache index objects and register them with FS-Cache Date: Wed, 23 Jun 2010 17:54:52 +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: 19 Message-ID: <9658.1277312092@redhat.com> References: <1277220198-3522-1-git-send-email-sjayaraman@suse.de> 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 Wed Jun 23 18:55:07 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 1ORTE8-0002ll-VF for lnx-linux-fsdevel@lo.gmane.org; Wed, 23 Jun 2010 18:55:05 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752263Ab0FWQzD (ORCPT ); Wed, 23 Jun 2010 12:55:03 -0400 Received: from mx1.redhat.com ([209.132.183.28]:18394 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751794Ab0FWQzB (ORCPT ); Wed, 23 Jun 2010 12:55:01 -0400 Received: from int-mx04.intmail.prod.int.phx2.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.17]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o5NGsu1L000993 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 23 Jun 2010 12:54:56 -0400 Received: from redhat.com (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx04.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o5NGsrUG016433; Wed, 23 Jun 2010 12:54:54 -0400 In-Reply-To: <1277220198-3522-1-git-send-email-sjayaraman@suse.de> X-Scanned-By: MIMEDefang 2.67 on 10.5.11.17 Sender: linux-fsdevel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@vger.kernel.org Archived-At: Suresh Jayaraman wrote: > Define server-level cache index objects (as managed by TCP_ServerInfo > structs). Each server object is created in the CIFS top-level index object > and is itself an index into which superblock-level objects are inserted. > > Currently, the server objects are keyed by hostname. > > Signed-off-by: Suresh Jayaraman Looks reasonable, apart from the index key. I agree with Jeff that you probably want {address,port,family} rather than a hostname. 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