lkml.org 
[lkml]   [2012]   [Jul]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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




\
 
 \ /
  Last update: 2012-07-27 23:21    [from the cache]
©2003-2011 Jasper Spaans