Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754815AbbEOLOZ (ORCPT ); Fri, 15 May 2015 07:14:25 -0400 Received: from smtp02.citrix.com ([66.165.176.63]:38737 "EHLO SMTP02.CITRIX.COM" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754333AbbEOLOY (ORCPT ); Fri, 15 May 2015 07:14:24 -0400 X-IronPort-AV: E=Sophos;i="5.13,433,1427760000"; d="scan'208";a="265446664" Message-ID: <5555D4F8.40701@citrix.com> Date: Fri, 15 May 2015 13:14:00 +0200 From: =?windows-1252?Q?Roger_Pau_Monn=E9?= User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: Bob Liu CC: , , , , , Subject: Re: [PATCH 1/2] driver: xen-blkfront: move talk_to_blkback to the correct place References: <1431428504-6623-1-git-send-email-bob.liu@oracle.com> <5555C3DE.7090603@citrix.com> <5555D26B.8040002@oracle.com> In-Reply-To: <5555D26B.8040002@oracle.com> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 8bit X-DLP: MIA1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 957 Lines: 23 El 15/05/15 a les 13.03, Bob Liu ha escrit: > > On 05/15/2015 06:01 PM, Roger Pau Monn? wrote: >> El 12/05/15 a les 13.01, Bob Liu ha escrit: >>> The right place for talk_to_blkback() to query backend features and transport >>> parameters is after backend entered XenbusStateInitWait. There is no problem >> >> talk_to_blkback doesn't gather any backend features, it just publishes >> the features supported by the frontend, which AFAICT can be done at any > > 1) But talk_tlkback will also allocate and initialize the request ring which > should be done after backend entered XenbusStateInitWait. Maybe setup_blkring should be moved to a more suitable location instead of moving the whole function? Roger. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/