[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <yq1a6g3q8mu.fsf@ca-mkp.ca.oracle.com>
Date: Mon, 10 Jan 2022 22:01:28 -0500
From: "Martin K. Petersen" <martin.petersen@...cle.com>
To: Christoph Hellwig <hch@....de>
Cc: Christophe JAILLET <christophe.jaillet@...adoo.fr>,
"James E.J. Bottomley" <jejb@...ux.ibm.com>,
"Martin K. Petersen" <martin.petersen@...cle.com>,
Bart Van Assche <bvanassche@....org>,
Johannes Thumshirn <jthumshirn@...e.de>,
Hannes Reinecke <hare@...e.com>, linux-kernel@...r.kernel.org,
kernel-janitors@...r.kernel.org, linux-scsi@...r.kernel.org
Subject: Re: [PATCH v2] scsi: pmcraid: Fix memory allocation in
'pmcraid_alloc_sglist()'
Christoph,
> The whole passthrough ioctl path looks completely broken to me. For
> example it dma maps the scatterlist and after that copies data to it,
> which is prohibited by the DMA API contract.
>
> So I'd be tempted to just remove the PMCRAID_PASSTHROUGH_IOCTL ioctl
> implementation entirely, and if users for it do pop up we should
> reimplement it using the proper block layer request mapping helpers.
Given that nobody has complained since 2018 I propose we remove it.
--
Martin K. Petersen Oracle Linux Engineering
Powered by blists - more mailing lists