Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756022AbbLDJvq (ORCPT ); Fri, 4 Dec 2015 04:51:46 -0500 Received: from mail-wm0-f54.google.com ([74.125.82.54]:34265 "EHLO mail-wm0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755876AbbLDJvm (ORCPT ); Fri, 4 Dec 2015 04:51:42 -0500 Subject: Re: [PATCH RFC 1/3] lightnvm: check mm before use To: Wenwei Tao References: <1449058583-27940-1-git-send-email-m@bjorling.me> Cc: linux-block@vger.kernel.org, linux-kernel@vger.kernel.org From: =?UTF-8?Q?Matias_Bj=c3=b8rling?= Organization: Paletta Message-ID: <5661622B.5030502@bjorling.me> Date: Fri, 4 Dec 2015 10:51:39 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 792 Lines: 16 > Is there any chance core can initialize IOs on device without register > with a media manger ? > In my understanding core cannot create target on device without a > media manger, if core doesn't have a target how can core initialize > IOs on these devices? If I'm wrong about this, please correct me. > You're right. This is preparation patches for system blocks. The core gets features added to work with the device, before gennvm is initialized. For that case, no media manager will have been initialized, and we therefore can't call it. -- 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/