[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <5012FD19.5090100@pobox.com>
Date: Fri, 27 Jul 2012 16:42:01 -0400
From: Jeff Garzik <jgarzik@...ox.com>
To: Matthew Wilcox <willy@...ux.intel.com>
CC: Keith Busch <keith.busch@...el.com>,
linux-nvme@...ts.infradead.org, linux-kernel@...r.kernel.org,
Alan Cox <alan@...rguk.ukuu.org.uk>, Greg KH <greg@...ah.com>,
Jens Axboe <jens.axboe@...cle.com>
Subject: Re: [PATCH] NVMe: Add a character device for each nvme device
On 07/27/2012 04:26 PM, Matthew Wilcox wrote:
> Maybe we should design such a mechanism, but maybe we shouldn't ... as we
> find common things to do, we tend to move those to sysfs, not ioctls,
> and the kinds of commands that are being sent here are essentially
> vendor-specific NVMe commands; it's not clear they'd fit neatly into a
> generic mechanism.
You're delivering arbitrary packets to the device from userspace, and it
is returning arbitrary packets to userspace.
This is a familiar pattern... It is quite analagous to "send
vendor-specific commands from userspace to a drive"
Jeff
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists