From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759633AbbIVVxM (ORCPT ); Tue, 22 Sep 2015 17:53:12 -0400 Received: from bombadil.infradead.org ([198.137.202.9]:57817 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752379AbbIVVxK (ORCPT ); Tue, 22 Sep 2015 17:53:10 -0400 Date: Tue, 22 Sep 2015 14:53:10 -0700 From: Christoph Hellwig To: Vitaly Kuznetsov Cc: linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org, devel@linuxdriverproject.org, "K. Y. Srinivasan" , Haiyang Zhang , "James E.J. Bottomley" , Radim Kr??m???? Subject: Re: [PATCH] storvsc: get rid of homegrown copy_{to,from}_bounce_buffer() Message-ID: <20150922215310.GA29802@infradead.org> References: <1442939270-9651-1-git-send-email-vkuznets@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1442939270-9651-1-git-send-email-vkuznets@redhat.com> 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 On Tue, Sep 22, 2015 at 06:27:50PM +0200, Vitaly Kuznetsov wrote: > Storvsc driver needs to ensure there are no 'holes' in the presented > sg list (all segments in the middle of the list need to be of PAGE_SIZE). I think it should instead set a virt_boundary. That's what we added for the NVMe driver which has the same requirements, and Sagi recently also switched iSER to it after we ensured that flag is handled correctly by the SG_IO ioctl.