[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20170308151113.GB27450@infradead.org>
Date: Wed, 8 Mar 2017 07:11:13 -0800
From: Christoph Hellwig <hch@...radead.org>
To: Kashyap Desai <kashyap.desai@...adcom.com>
Cc: linux-kernel@...r.kernel.org, linux-scsi@...r.kernel.org
Subject: Re: out of range LBA using sg_raw
Hi Kashyap,
for SG_IO passthrough requests we can't validate command validity
for commands as the block layer treats them as opaque. The SCSI
device implementation needs to handle incorrect parameter to be
robust.
For your fast path bypass the megaraid driver assumes part of the
SCSI device implementation, so it will have to check for validity.
Powered by blists - more mailing lists