All of lore.kernel.org
 help / color / mirror / Atom feed
* ioctls vs sysfs
@ 2013-07-04  8:06 David Sariel
  2013-07-04 14:39 ` Matthew Wilcox
  0 siblings, 1 reply; 3+ messages in thread
From: David Sariel @ 2013-07-04  8:06 UTC (permalink / raw)


Hi Matthew,
I have several questions:

1) Do you have plans to add nore SG_* ioctls to supports more commands
from sg utils package?
2) Do you have plans to add/move more stuff  to sysfs?

Thanks,
D
   

^ permalink raw reply	[flat|nested] 3+ messages in thread

* ioctls vs sysfs
  2013-07-04  8:06 ioctls vs sysfs David Sariel
@ 2013-07-04 14:39 ` Matthew Wilcox
  2013-07-05 17:16   ` David.Darrington
  0 siblings, 1 reply; 3+ messages in thread
From: Matthew Wilcox @ 2013-07-04 14:39 UTC (permalink / raw)


On Thu, Jul 04, 2013@11:06:51AM +0300, David Sariel wrote:
> Hi Matthew,
> I have several questions:
> 
> 1) Do you have plans to add nore SG_* ioctls to supports more commands
> from sg utils package?

I don't have any plans to do anything further with the nvme-scsi driver
myself.  I don't keep track of what is and isn't supported.  That said,
if someone wants to send patches to add support for something that's
missing, I don't have a problem with applying it.  For example, Keith
added support for UNMAP.

> 2) Do you have plans to add/move more stuff  to sysfs?

I'm open to exposing more stuff through sysfs.  Did you have any requests?

^ permalink raw reply	[flat|nested] 3+ messages in thread

* ioctls vs sysfs
  2013-07-04 14:39 ` Matthew Wilcox
@ 2013-07-05 17:16   ` David.Darrington
  0 siblings, 0 replies; 3+ messages in thread
From: David.Darrington @ 2013-07-05 17:16 UTC (permalink / raw)


I have been testing changes that expose the I/O queues through sysfs. At 
this point, I have the entry 'reset' under 
/sys/bus/pci/devices/<addr>/nvme_queues/Qn/ for each I/O queue.
Echoing a 1 to the reset file causes the I/O queue to be re-created as 
described in section 7.3.3 in the NVMe 1.1 spec. This could be extended to 
add other attributes of the queues, if there are any suggestions.
I'm planning on submitting a patch, but i need to cachup with the latest 
changes, and I think that some of Keiths recent patches may affect what I 
wrote. Specifically, he added the ability to suspend a queue. I was 
planning on merging what i have done in with Keiths changes, perhaps 
exposing  'suspend', along with 'reset' in sysfs
 

"Linux-nvme" <linux-nvme-bounces at lists.infradead.org> wrote on 07/04/2013 
09:39:15 AM:

> On Thu, Jul 04, 2013@11:06:51AM +0300, David Sariel wrote:
> > Hi Matthew,
> > I have several questions:
> > 
> > 1) Do you have plans to add nore SG_* ioctls to supports more commands
> > from sg utils package?
> 
> I don't have any plans to do anything further with the nvme-scsi driver
> myself.  I don't keep track of what is and isn't supported.  That said,
> if someone wants to send patches to add support for something that's
> missing, I don't have a problem with applying it.  For example, Keith
> added support for UNMAP.
> 
> > 2) Do you have plans to add/move more stuff  to sysfs?
> 
> I'm open to exposing more stuff through sysfs.  Did you have any 
requests?
> 
> _______________________________________________
> Linux-nvme mailing list
> Linux-nvme at lists.infradead.org
> http://merlin.infradead.org/mailman/listinfo/linux-nvme

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-07-05 17:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-04  8:06 ioctls vs sysfs David Sariel
2013-07-04 14:39 ` Matthew Wilcox
2013-07-05 17:16   ` David.Darrington

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.