public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* NFTL cleanup
@ 2000-08-17  7:49 David Woodhouse
  0 siblings, 0 replies; only message in thread
From: David Woodhouse @ 2000-08-17  7:49 UTC (permalink / raw)
  To: Ollie Lho; +Cc: mtd


I've realised that we're not permitted to use a semaphore, or call any of 
the MTD access functions, from the nftl_request() function.

The nftl_request() function isn't permitted to sleep.

Therefore, we want a kernel thread. The _request function should do nothing 
but take requests off the kernel's queue and stick them on a private queue, 
to be served by the kernel thread.

Once we do proper concurrent access to individual flash chips within the 
DiskOnChip, that'll become _very_ important.

--
dwmw2




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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2000-08-17  7:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-08-17  7:49 NFTL cleanup David Woodhouse

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