public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* Adding a non-blocking erase func
@ 2002-04-05 17:35 Derek Ross
  0 siblings, 0 replies; only message in thread
From: Derek Ross @ 2002-04-05 17:35 UTC (permalink / raw)
  To: linux-mtd

Hello,

Say I wanted to write another erase function
that's ioctl callable. This function would 
be non-blocking.

Would it be good to:

1. add another define "MEMERASE_NDELAY,"

2. Go into the function mtd_ioctl, and
add a case for MEMERASE_NDELAY.

3. The case for MEMERASE_NDELAY
would be a copy of MEMERASE except with the 
wait_queue stuff taken out.

Would this be a simple task (in your opinion)
or would that be one of those things that
would be tricky to debug and get working?

Thanks, 
Derek.

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

only message in thread, other threads:[~2002-04-05 17:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-04-05 17:35 Adding a non-blocking erase func Derek Ross

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