public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* IDE ioctl documentation & a new ioctl
@ 2004-11-19  2:39 Edward Falk
  2004-11-19  3:47 ` Jim Nelson
  2004-11-19  4:07 ` Jeff Garzik
  0 siblings, 2 replies; 6+ messages in thread
From: Edward Falk @ 2004-11-19  2:39 UTC (permalink / raw)
  To: linux-kernel

Hi all; let me introduce myself:  I'm the guy that does IDE sustaining 
for Google.

I'm getting ready to sit down and document the IDE ioctls.  Probably 
Documentation/hdio.txt or something like that.  Before I start though, 
is anybody already doing this?

And while I'm on the subject, we're getting ready to write a new hdio 
ioctl, an extension of HDIO_DRIVE_CMD.  The intent here is to be 
slightly more general-purpose than HDIO_DRIVE_CMD, with an eye to 
supporting the full set of SMART functionality.  Current plan is to have 
the user pass a struct containing a pointer to the argument list, a 
pointer to the data buffer, and a data buffer length value.  Consider 
this a design document; any comments and/or feature requests?

	-ed falk
	efalk@google.com

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

* Re: IDE ioctl documentation & a new ioctl
  2004-11-19  2:39 IDE ioctl documentation & a new ioctl Edward Falk
@ 2004-11-19  3:47 ` Jim Nelson
  2004-11-19 19:38   ` Edward Falk
  2004-11-19  4:07 ` Jeff Garzik
  1 sibling, 1 reply; 6+ messages in thread
From: Jim Nelson @ 2004-11-19  3:47 UTC (permalink / raw)
  To: Edward Falk; +Cc: linux-kernel

Edward Falk wrote:
> Hi all; let me introduce myself:  I'm the guy that does IDE sustaining 
> for Google.
> 
> I'm getting ready to sit down and document the IDE ioctls.  Probably 
> Documentation/hdio.txt or something like that.  Before I start though, 
> is anybody already doing this?
> 

No one that I know of.  I had a thought in the back of my head of tackling ioctl 
documentation after I went through the stuff that's already in Documentation, but 
I figured I had enough to chew on for right now.

I'd probably make a subdirectory - i. e. Documentation/ioctl/hdio.txt - to 
differentiate it from other documents, and make it easier to get maintainers to 
put some stuff in there. ;)   AFAICT, there is next to no documentation on ioctl's 
anywhere in the kernel tarball.

> And while I'm on the subject, we're getting ready to write a new hdio 
> ioctl, an extension of HDIO_DRIVE_CMD.  The intent here is to be 
> slightly more general-purpose than HDIO_DRIVE_CMD, with an eye to 
> supporting the full set of SMART functionality.  Current plan is to have 
> the user pass a struct containing a pointer to the argument list, a 
> pointer to the data buffer, and a data buffer length value.  Consider 
> this a design document; any comments and/or feature requests?
> 
>     -ed falk
>     efalk@google.com
> -

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

* Re: IDE ioctl documentation & a new ioctl
  2004-11-19  2:39 IDE ioctl documentation & a new ioctl Edward Falk
  2004-11-19  3:47 ` Jim Nelson
@ 2004-11-19  4:07 ` Jeff Garzik
  2004-11-19 19:38   ` Edward Falk
  2004-11-19 20:02   ` Bartlomiej Zolnierkiewicz
  1 sibling, 2 replies; 6+ messages in thread
From: Jeff Garzik @ 2004-11-19  4:07 UTC (permalink / raw)
  To: Edward Falk; +Cc: linux-kernel

Edward Falk wrote:
> And while I'm on the subject, we're getting ready to write a new hdio 
> ioctl, an extension of HDIO_DRIVE_CMD.  The intent here is to be 
> slightly more general-purpose than HDIO_DRIVE_CMD, with an eye to 
> supporting the full set of SMART functionality.  Current plan is to have 
> the user pass a struct containing a pointer to the argument list, a 
> pointer to the data buffer, and a data buffer length value.  Consider 
> this a design document; any comments and/or feature requests?

HDIO_DRIVE_TASK and flagged taskfiles should cover everything you need.

	Jeff



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

* Re: IDE ioctl documentation & a new ioctl
  2004-11-19  3:47 ` Jim Nelson
@ 2004-11-19 19:38   ` Edward Falk
  0 siblings, 0 replies; 6+ messages in thread
From: Edward Falk @ 2004-11-19 19:38 UTC (permalink / raw)
  To: Jim Nelson; +Cc: linux-kernel


> I'd probably make a subdirectory - i. e. Documentation/ioctl/hdio.txt - 
> to differentiate it from other documents, and make it easier to get 
> maintainers to put some stuff in there. ;)   AFAICT, there is next to no 
> documentation on ioctl's anywhere in the kernel tarball.

Good point; the existance of an ioctl subdirectory would encourage 
others to write documentation as well.

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

* Re: IDE ioctl documentation & a new ioctl
  2004-11-19  4:07 ` Jeff Garzik
@ 2004-11-19 19:38   ` Edward Falk
  2004-11-19 20:02   ` Bartlomiej Zolnierkiewicz
  1 sibling, 0 replies; 6+ messages in thread
From: Edward Falk @ 2004-11-19 19:38 UTC (permalink / raw)
  To: Jeff Garzik; +Cc: linux-kernel


> HDIO_DRIVE_TASK and flagged taskfiles should cover everything you need.

I'll take another look.  Thanks.

	-ed falk

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

* Re: IDE ioctl documentation & a new ioctl
  2004-11-19  4:07 ` Jeff Garzik
  2004-11-19 19:38   ` Edward Falk
@ 2004-11-19 20:02   ` Bartlomiej Zolnierkiewicz
  1 sibling, 0 replies; 6+ messages in thread
From: Bartlomiej Zolnierkiewicz @ 2004-11-19 20:02 UTC (permalink / raw)
  To: Jeff Garzik; +Cc: Edward Falk, linux-kernel

Hi!

Documenting existing ioctls would be appreciated by many people...

On Thu, 18 Nov 2004 23:07:55 -0500, Jeff Garzik <jgarzik@pobox.com> wrote:
> Edward Falk wrote:
> > And while I'm on the subject, we're getting ready to write a new hdio
> > ioctl, an extension of HDIO_DRIVE_CMD.  The intent here is to be
> > slightly more general-purpose than HDIO_DRIVE_CMD, with an eye to
> > supporting the full set of SMART functionality.  Current plan is to have
> > the user pass a struct containing a pointer to the argument list, a
> > pointer to the data buffer, and a data buffer length value.  Consider
> > this a design document; any comments and/or feature requests?
> 
> HDIO_DRIVE_TASK and flagged taskfiles should cover everything you need.

HDIO_DRIVE_TASKFILE for (flagged) taskfiles and commands requiring
data transfers.

Bartlomiej

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

end of thread, other threads:[~2004-11-19 20:05 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-19  2:39 IDE ioctl documentation & a new ioctl Edward Falk
2004-11-19  3:47 ` Jim Nelson
2004-11-19 19:38   ` Edward Falk
2004-11-19  4:07 ` Jeff Garzik
2004-11-19 19:38   ` Edward Falk
2004-11-19 20:02   ` Bartlomiej Zolnierkiewicz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox