block dangerous passthrough operation
Jens Axboe
axboe at kernel.dk
Wed Nov 16 19:49:42 PST 2022
On 11/16/22 6:01 AM, Christoph Hellwig wrote:
> Hi all,
>
> I recently had to debug some testing code that tried to send fabrics
> commands and caused a major havoc. This series adds checks for various
> very low-level passthrough commands that have no business sent by anyone
> but the driver itself. The list might now be complete, so discussion
> is welcome.
Honestly, I think this is a mess, and it's exactly why I didn't like
going down this path to begin with. I'm assuming that last 'now' above
should be a 'not'? This approach is not going to be maintainable.
--
Jens Axboe
More information about the Linux-nvme
mailing list