public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* More comments
@ 2000-03-12 12:20 Alexander Larsson
  2000-03-12 13:44 ` David Woodhouse
  0 siblings, 1 reply; 10+ messages in thread
From: Alexander Larsson @ 2000-03-12 12:20 UTC (permalink / raw)
  To: mtd

Ok. I've worked some more with mtd now.

What is the reason for having the read and write ops not always read/write
the number of bytes you specify? (I guess that this is what the size_t
*retlen argument means.)

What concurrency assumptions does mtd make? Since the ops can sleep
(could be waiting for a sector erase to finish) there must be some kind of
locking. Who does the locking? What is "int *lock" in struct mtd? (and
shouldn't it be a semaphore or a spinlock?) Which operations can be called
from interrupt-context?

/ Alex







To unsubscribe, send "unsubscribe mtd" to majordomo@infradead.org

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

end of thread, other threads:[~2000-03-28 11:30 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-03-12 12:20 More comments Alexander Larsson
2000-03-12 13:44 ` David Woodhouse
2000-03-12 17:16   ` Alexander Larsson
2000-03-12 17:26     ` David Woodhouse
2000-03-13  9:06       ` Alexander Larsson
2000-03-13  9:15         ` David Woodhouse
2000-03-13  9:42           ` Alexander Larsson
2000-03-28 10:18             ` David Woodhouse
2000-03-28 11:30               ` Alexander Larsson
2000-03-14 17:13     ` David Woodhouse

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