Adding a non-blocking erase func
Derek Ross
dross at iders.ca
Fri Apr 5 12:35:21 EST 2002
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.
More information about the linux-mtd
mailing list