From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Martin K. Petersen" Subject: Re: [PATCH 01/10] scsi: move the nr_phys_segments assert into scsi_init_io Date: Sun, 13 Jul 2014 10:03:03 -0400 Message-ID: References: <1404048881-19526-1-git-send-email-hch@lst.de> <1404048881-19526-2-git-send-email-hch@lst.de> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from userp1040.oracle.com ([156.151.31.81]:41383 "EHLO userp1040.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753177AbaGMODO (ORCPT ); Sun, 13 Jul 2014 10:03:14 -0400 In-Reply-To: <1404048881-19526-2-git-send-email-hch@lst.de> (Christoph Hellwig's message of "Sun, 29 Jun 2014 15:34:32 +0200") Sender: linux-scsi-owner@vger.kernel.org List-Id: linux-scsi@vger.kernel.org To: Christoph Hellwig Cc: James Bottomley , "Martin K. Petersen" , linux-scsi@vger.kernel.org >>>>> "Christoph" == Christoph Hellwig writes: Christoph> scsi_init_io should only be called for requests that transfer Christoph> data, so move the assert that a request has segments from the Christoph> callers into scsi_init_io. Reviewed-by: Martin K. Petersen -- Martin K. Petersen Oracle Linux Engineering