public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: "Derek Ross" <dross@iders.ca>
To: <linux-mtd@lists.infradead.org>
Subject: Adding a non-blocking erase func
Date: Fri, 5 Apr 2002 11:35:21 -0600	[thread overview]
Message-ID: <003f01c1dcc8$431f76f0$87657bc8@athlon> (raw)

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.

                 reply	other threads:[~2002-04-05 17:35 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='003f01c1dcc8$431f76f0$87657bc8@athlon' \
    --to=dross@iders.ca \
    --cc=linux-mtd@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox