Re: [PATCH] atari aranym nfstderr, take 2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 14 Jan 2008, Michael Schmitz wrote:
BTW, I am amazed by simplicity of the patch and am wondering if it is
similarly simple to write a disk driver (to avoid the IDE emulation in
ARAnyM).

I don't think it's quite as simple.

Not nearly as simple - you won't get away with a single fops, for
starters. OTOH we don't need to fudge around with interrupts and could
just pretend a disk request returns right away, meaning to call the
end_request()  function from the request function directly (if that's a
no-no for some reason, call it via a task queue right away).

I've started on that, and run into the issue on what to do with the
various minors, i.e. partitions. Other than that, it looks pretty
straightforward. Need to check other block drivers for that.

Partitions are handled by the generic layer. Just provide `a few' of
them.

BTW, z2ram is getting old (anyone using it? does it still work?).
Maybe I'm biased, but drivers/block/ps3disk.c is another candidate to
look at. But ps3disk doesn't need a task queue as the PS3 hypervisor
issues an interrupt when the disk access has completed.

My broadband provider just went out of their way to prove that NZ is a
third world country WRT technology (nation-wide broadband outage for over
three days? Gimme a modem :-( ...) so I won't ba able to check out the
ARAnyM source all that soon. There's still that ESP project waiting as
well...

Ugh...

Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
							    -- Linus Torvalds
-
To unsubscribe from this list: send the line "unsubscribe linux-m68k" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Video for Linux]     [Yosemite News]     [Linux S/390]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux