From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Hellwig Subject: Re: [PATCH 1/5 v2] blk-mq: Add prep/unprep support Date: Thu, 16 Apr 2015 23:34:39 -0700 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 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 To: Matias Bj??rling Return-path: 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 Content-Disposition: inline In-Reply-To: <1429101284-19490-2-git-send-email-m@bjorling.me> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: 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.