From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: To: Christoph Hellwig Cc: Jens Axboe , Josef Bacik , James Smart , Konrad Rzeszutek Wilk , Roger Pau =?utf-8?Q?Monn=C3=A9?= , linux-scsi@vger.kernel.org, linux-nvme@lists.infradead.org, linux-block@vger.kernel.org, dm-devel@redhat.com Subject: Re: [PATCH 08/23] scsi: introduce a result field in struct scsi_request From: "Martin K. Petersen" References: <20170419192708.22098-1-hch@lst.de> <20170419192708.22098-9-hch@lst.de> Date: Wed, 19 Apr 2017 21:43:00 -0400 In-Reply-To: <20170419192708.22098-9-hch@lst.de> (Christoph Hellwig's message of "Wed, 19 Apr 2017 21:26:53 +0200") Message-ID: MIME-Version: 1.0 Content-Type: text/plain List-ID: Christoph Hellwig writes: > This passes on the scsi_cmnd result field to users of passthrough > requests. Currently we abuse req->errors for this purpose, but that > field will go away in its current form. Reviewed-by: Martin K. Petersen > Note that the old IDE code abuses the errors field in very creative > ways and stores all kinds of different values in it. I didn't dare > to touch this magic, so the abuses are brought forward 1:1. Really wish we could just obliterate drivers/ide. -- Martin K. Petersen Oracle Linux Engineering From mboxrd@z Thu Jan 1 00:00:00 1970 From: martin.petersen@oracle.com (Martin K. Petersen) Date: Wed, 19 Apr 2017 21:43:00 -0400 Subject: [PATCH 08/23] scsi: introduce a result field in struct scsi_request In-Reply-To: <20170419192708.22098-9-hch@lst.de> (Christoph Hellwig's message of "Wed, 19 Apr 2017 21:26:53 +0200") References: <20170419192708.22098-1-hch@lst.de> <20170419192708.22098-9-hch@lst.de> Message-ID: Christoph Hellwig writes: > This passes on the scsi_cmnd result field to users of passthrough > requests. Currently we abuse req->errors for this purpose, but that > field will go away in its current form. Reviewed-by: Martin K. Petersen > Note that the old IDE code abuses the errors field in very creative > ways and stores all kinds of different values in it. I didn't dare > to touch this magic, so the abuses are brought forward 1:1. Really wish we could just obliterate drivers/ide. -- Martin K. Petersen Oracle Linux Engineering