Re: [PATCH] 2.5.67-ac2 direct-IO for IDE taskfile ioctl (0/4)

Andrew Morton (akpm@digeo.com)
Wed, 23 Apr 2003 15:35:00 -0700


Bartlomiej Zolnierkiewicz <B.Zolnierkiewicz@elka.pw.edu.pl> wrote:
>
>
> Hey,
>
> Another bunch of patches:
>
> (1) Enhance bio_(un)map_user() and add blk_rq_bio_prep().
> (2) Pass bdev to IDE ioctl handlers.
> (3) Add support for rq->bio based taskfile.
> (4) Use direct-IO in ide_taskfile_ioctl() and in ide_cmd_ioctl().

Dumb question: what does all this code actually do?

It appears to be implementing an IDE-specific ioctl() which performs bulk
IO direct to/from userspace. But that seems to be equivalent to O_DIRECT
access to /dev/hda.

What is special about the IDE ioctl approach?

Thanks.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/