Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752487AbbDQGes (ORCPT ); Fri, 17 Apr 2015 02:34:48 -0400 Received: from bombadil.infradead.org ([198.137.202.9]:44236 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750865AbbDQGel (ORCPT ); Fri, 17 Apr 2015 02:34:41 -0400 Date: Thu, 16 Apr 2015 23:34:39 -0700 From: Christoph Hellwig To: Matias Bj??rling Cc: hch@infradead.org, axboe@fb.com, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, linux-nvme@lists.infradead.org, keith.busch@intel.com, javier@paletta.io Subject: Re: [PATCH 1/5 v2] blk-mq: Add prep/unprep support Message-ID: <20150417063439.GB389@infradead.org> References: <1429101284-19490-1-git-send-email-m@bjorling.me> <1429101284-19490-2-git-send-email-m@bjorling.me> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1429101284-19490-2-git-send-email-m@bjorling.me> User-Agent: Mutt/1.5.23 (2014-03-12) X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 616 Lines: 13 On Wed, Apr 15, 2015 at 02:34:40PM +0200, Matias Bj??rling wrote: > Allow users to hook into prep/unprep functions just before an IO is > dispatched to the device driver. This is necessary for request-based > logic to take place at upper layers. I don't think any of this logic belongs into the block layer. All this should be library functions called by the drivers. -- 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/