Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756904Ab2JWImJ (ORCPT ); Tue, 23 Oct 2012 04:42:09 -0400 Received: from youngberry.canonical.com ([91.189.89.112]:45588 "EHLO youngberry.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756830Ab2JWImH (ORCPT ); Tue, 23 Oct 2012 04:42:07 -0400 MIME-Version: 1.0 In-Reply-To: References: <1350894794-1494-5-git-send-email-ming.lei@canonical.com> Date: Tue, 23 Oct 2012 16:42:02 +0800 Message-ID: Subject: Re: [RFC PATCH v2 4/6] net/core: apply pm_runtime_set_memalloc_noio on network devices From: Ming Lei To: Alan Stern Cc: linux-kernel@vger.kernel.org, Oliver Neukum , Minchan Kim , Greg Kroah-Hartman , "Rafael J. Wysocki" , Jens Axboe , "David S. Miller" , Andrew Morton , netdev@vger.kernel.org, linux-usb@vger.kernel.org, linux-pm@vger.kernel.org, linux-mm@kvack.org, Eric Dumazet , David Decotigny , Tom Herbert , Ingo Molnar Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 693 Lines: 19 On Tue, Oct 23, 2012 at 3:18 AM, Alan Stern wrote: > On Mon, 22 Oct 2012, Ming Lei wrote: > Is this really needed? Even with iSCSI, doesn't register_disk() have > to be called for the underlying block device? And given your 3/6 > patch, wouldn't that mark the network device? The problem is that network device is not one ancestor of the iSCSI disk device, which transfers data over tcp stack. Thanks, -- Ming Lei -- 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/