All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Woodhouse <dwmw2@infradead.org>
To: Frederic Giasson <fgiasson@mediatrix.com>
Cc: "linux-mtd@lists.infrared.org" <linux-mtd@lists.infradead.org>
Subject: Re: Purpose of sync() function
Date: Tue, 12 Jun 2001 09:43:43 +0100	[thread overview]
Message-ID: <6352.992335423@redhat.com> (raw)
In-Reply-To: <F1BED55F35F4D3118C0F00E0295CFF4D99549E@mail.mediatrix.com>


fgiasson@mediatrix.com said:
>   I have not implemented the sync() function, because looking at
> others drivers it doest not seem to do anything useful.  Can anyone
> tell me if I am right or wrong, and what should be the purpose of the
> sync function^ 

The sync function should wait for all pending erases to complete. As 
nobody's actually implemented asynchronous erases yet - all the erase 
functions block and call the callback before returning, this is a NOP in 
all current drivers.

--
dwmw2

      reply	other threads:[~2001-06-12  8:38 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-06-11 15:17 Purpose of sync() function Frederic Giasson
2001-06-12  8:43 ` David Woodhouse [this message]

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=6352.992335423@redhat.com \
    --to=dwmw2@infradead.org \
    --cc=fgiasson@mediatrix.com \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.