Return-Path: Date: Thu, 18 Oct 2018 16:29:00 +0200 From: Christoph Hellwig To: Ming Lei Cc: Jens Axboe , linux-block@vger.kernel.org, Vitaly Kuznetsov , Dave Chinner , Linux FS Devel , "Darrick J . Wong" , xfs@vger.kernel.org, Christoph Hellwig , Bart Van Assche , Matthew Wilcox Subject: Re: [PATCH 2/5] block: move .dma_alignment into q->limits Message-ID: <20181018142900.GB26828@lst.de> References: <20181018131817.11813-1-ming.lei@redhat.com> <20181018131817.11813-3-ming.lei@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <20181018131817.11813-3-ming.lei@redhat.com> List-ID: On Thu, Oct 18, 2018 at 09:18:14PM +0800, Ming Lei wrote: > Turns out q->dma_alignement should be stack limit because now bvec table > is immutalbe, the underlying queue's dma alignment has to be perceptible > by stack driver, so IO buffer can be allocated as dma aligned before > adding to bio. > > So this patch moves .dma_alignment into q->limits and prepares for > making it as one stacked limit. Looks fine: Reviewed-by: Christoph Hellwig